mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: make cluster checking interval shorter
This commit is contained in:
parent
1aa312fcce
commit
ef6320e638
@ -62,8 +62,11 @@ const (
|
|||||||
StoreClusterPrefix = "/0"
|
StoreClusterPrefix = "/0"
|
||||||
StoreKeysPrefix = "/1"
|
StoreKeysPrefix = "/1"
|
||||||
|
|
||||||
purgeFileInterval = 30 * time.Second
|
purgeFileInterval = 30 * time.Second
|
||||||
monitorVersionInterval = 5 * time.Second
|
// monitorVersionInterval should be smaller than the timeout
|
||||||
|
// on the connection. Or we will not be able to resue the connection
|
||||||
|
// (since it will timeout).
|
||||||
|
monitorVersionInterval = rafthttp.ConnWriteTimeout - time.Second
|
||||||
|
|
||||||
databaseFilename = "db"
|
databaseFilename = "db"
|
||||||
// max number of in-flight snapshot messages etcdserver allows to have
|
// max number of in-flight snapshot messages etcdserver allows to have
|
||||||
|
Loading…
x
Reference in New Issue
Block a user