Browse Source

Increase ping timeout

Jakob Borg 12 years ago
parent
commit
42ad9f8b02
1 changed files with 1 additions and 1 deletions
  1. 1 1
      protocol/protocol.go

+ 1 - 1
protocol/protocol.go

@@ -71,7 +71,7 @@ type asyncResult struct {
 	err error
 }
 
-const pingTimeout = 30 * time.Second
+const pingTimeout = 2 * time.Minute
 const pingIdleTime = 5 * time.Minute
 
 func NewConnection(nodeID string, reader io.Reader, writer io.Writer, receiver Model) *Connection {