Files
etcd/server/timeout.go
2013-12-04 16:58:44 +00:00

18 lines
355 B
Go

package server
// import (
// "time"
// )
const (
// The amount of time to elapse without a heartbeat before becoming a candidate.
// ElectionTimeout = 200 * time.Millisecond
ElectionTimeout = 200
// The frequency by which heartbeats are sent to followers.
//HeartbeatTimeout = 50 * time.Millisecond
HeartbeatTimeout = 50
RetryInterval = 10
)