Closed hylkevds closed 1 month ago
It seems the 200ms timeout on creating subscriptions is sometimes not enough on the GitHub CI environment: https://github.com/moquette-io/moquette/blob/2092693c5d9d5bcb0468631416d064c3707ffa32/broker/src/test/java/io/moquette/testclient/Client.java#L211
Do you want me to create a PR to increase it to 300?
Thank's @hylkevds for your contribution!
Instead of mapping the entire page file every time a segment is re-used, we map the page file once, and re-use the mapped buffer for each segment. The cache uses WeakReferences to ensure that a page file that is no longer used does not stay mapped.