1
0
Fork 0

Increase compression-check thresholds

I reckon they are too low, and the snapshots will be compressed when
transmitted between nodes.
master
Philip O'Toole 1 year ago
parent 71d404f628
commit f697eb1aec

@ -302,7 +302,6 @@ func createStore(cfg *Config, ln *tcp.Layer) (*store.Store, error) {
})
// Set optional parameters on store.
str.SetRequestCompression(cfg.CompressionBatch, cfg.CompressionSize)
str.RaftLogLevel = cfg.RaftLogLevel
str.NoFreeListSync = cfg.RaftNoFreelistSync
str.ShutdownOnRemove = cfg.RaftShutdownOnRemove

@ -11,8 +11,8 @@ import (
)
const (
defaultBatchThreshold = 5
defaultSizeThreshold = 150
defaultBatchThreshold = 50
defaultSizeThreshold = 1024
)
// Requester is the interface objects must support to be marshaled

Loading…
Cancel
Save