add comment for HTTPTIMEOUT constant

This commit is contained in:
Xiang Li 2013-07-11 14:56:16 -07:00
parent 8c76c97c9a
commit c135c1e299

View File

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