Lower sync and init tick limits
Lower both of these to 5 seconds to ensure Zookeeper doesn't linger on startup or synchronization while pvcnoded is starting up (15s in 0.9.101).
This commit is contained in:
parent
d82d057956
commit
b4c2b9bdf8
|
@ -5,10 +5,10 @@
|
||||||
dataDir=/var/lib/zookeeper
|
dataDir=/var/lib/zookeeper
|
||||||
# Set our tick time to 1 second
|
# Set our tick time to 1 second
|
||||||
tickTime=1000
|
tickTime=1000
|
||||||
# Initialization can take up to 30 ticks
|
# Initialization can take up to 5 ticks
|
||||||
initLimit=30
|
initLimit=5
|
||||||
# Syncing can take up to 15 ticks
|
# Syncing can take up to 5 ticks
|
||||||
syncLimit=15
|
syncLimit=5
|
||||||
# Lower snapshot count from 100k to 10k
|
# Lower snapshot count from 100k to 10k
|
||||||
snapCount=10000
|
snapCount=10000
|
||||||
# Halve the snapshot size to 2GB
|
# Halve the snapshot size to 2GB
|
||||||
|
|
Loading…
Reference in New Issue