10 lines
256 B
Go
10 lines
256 B
Go
|
package wal
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
var (
|
||
|
connTimeout = 16 * time.Second // For sending / receiving WAL.
|
||
|
heartbeatInterval = 2 * time.Second // Used in Follower.SendLog
|
||
|
pollInterval = 250 * time.Millisecond // Used in Follower.SendLog
|
||
|
)
|