This repository has been archived on 2022-07-30. You can view files and clone it, but cannot push or open issues/pull-requests.
2022-07-26 05:58:53 +00:00
|
|
|
package wal
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
var (
|
|
|
|
connTimeout = 16 * time.Second // For sending / receiving WAL.
|
|
|
|
heartbeatInterval = 2 * time.Second // Used in Follower.SendLog
|
2022-07-28 05:29:10 +00:00
|
|
|
pollInterval = 500 * time.Millisecond // Used in Follower.SendLog
|
2022-07-26 05:58:53 +00:00
|
|
|
)
|