mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 15:20:56 +00:00
Increase ping timeout
This commit is contained in:
parent
0f6b34160c
commit
42ad9f8b02
@ -71,7 +71,7 @@ type asyncResult struct {
|
|||||||
err error
|
err error
|
||||||
}
|
}
|
||||||
|
|
||||||
const pingTimeout = 30 * time.Second
|
const pingTimeout = 2 * time.Minute
|
||||||
const pingIdleTime = 5 * time.Minute
|
const pingIdleTime = 5 * time.Minute
|
||||||
|
|
||||||
func NewConnection(nodeID string, reader io.Reader, writer io.Writer, receiver Model) *Connection {
|
func NewConnection(nodeID string, reader io.Reader, writer io.Writer, receiver Model) *Connection {
|
||||||
|
Loading…
Reference in New Issue
Block a user