mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Default removedEntryCleanupTimeout() 1 second -> 1 minute
This commit is contained in:
@@ -181,9 +181,15 @@ public final class ChronicleMapBuilder<K, V> implements
|
||||
|
||||
// replication
|
||||
private TimeProvider timeProvider = MicrosecondPrecisionSystemTimeProvider.instance();
|
||||
/**
|
||||
* Default timeout is 1 minute. Even loopback tests converge often in the course of seconds,
|
||||
* let alone WAN replication over many nodes might take tens of seconds.
|
||||
*
|
||||
* TODO review
|
||||
*/
|
||||
long cleanupTimeout = 1;
|
||||
TimeUnit cleanupTimeoutUnit = TimeUnit.MINUTES;
|
||||
private boolean cleanupRemovedEntries = true;
|
||||
TimeUnit cleanupTimeoutUnit = TimeUnit.SECONDS;
|
||||
|
||||
private BytesMarshallerFactory bytesMarshallerFactory;
|
||||
private ObjectSerializer objectSerializer;
|
||||
|
||||
Reference in New Issue
Block a user