|
@@ -91,7 +91,7 @@ const (
|
|
|
ELECTIONTIMTOUT = 200 * time.Millisecond
|
|
ELECTIONTIMTOUT = 200 * time.Millisecond
|
|
|
HEARTBEATTIMEOUT = 50 * time.Millisecond
|
|
HEARTBEATTIMEOUT = 50 * time.Millisecond
|
|
|
// Timeout for internal raft http connection
|
|
// Timeout for internal raft http connection
|
|
|
- // The origin timeout for http is 45 seconds
|
|
|
|
|
|
|
+ // The original timeout for http is 45 seconds
|
|
|
// which is too long for our usage.
|
|
// which is too long for our usage.
|
|
|
HTTPTIMEOUT = time.Second
|
|
HTTPTIMEOUT = time.Second
|
|
|
)
|
|
)
|