mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
add comment for HTTPTIMEOUT constant
This commit is contained in:
parent
880cd71df5
commit
ffa4d1a3c0
3
etcd.go
3
etcd.go
@ -90,7 +90,8 @@ const (
|
|||||||
const (
|
const (
|
||||||
ELECTIONTIMTOUT = 200 * time.Millisecond
|
ELECTIONTIMTOUT = 200 * time.Millisecond
|
||||||
HEARTBEATTIMEOUT = 50 * time.Millisecond
|
HEARTBEATTIMEOUT = 50 * time.Millisecond
|
||||||
HTTPTIMEOUT = time.Second
|
// Timeout for internal raft http connection
|
||||||
|
HTTPTIMEOUT = time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user