Increase ping timeout

This commit is contained in:
Jakob Borg 2013-12-30 21:32:20 -05:00
parent 0f6b34160c
commit 42ad9f8b02

View File

@ -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 {