peer: increase ping interval to 1 minute
This commit is contained in:
parent
4634db4f80
commit
8c4b5ae0fc
2
peer.go
2
peer.go
@ -33,7 +33,7 @@ var (
|
||||
|
||||
const (
|
||||
// pingInterval is the interval at which ping messages are sent.
|
||||
pingInterval = 30 * time.Second
|
||||
pingInterval = 1 * time.Minute
|
||||
|
||||
// outgoingQueueLen is the buffer size of the channel which houses
|
||||
// messages to be sent across the wire, requested by objects outside
|
||||
|
Loading…
Reference in New Issue
Block a user