Skip to content

Commit

Permalink
increase pong timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Northa committed May 28, 2022
1 parent 615ca79 commit 80a354a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/p2p/conn/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const (
defaultRecvRate = int64(512000) // 500KB/s
defaultSendTimeout = 10 * time.Second
defaultPingInterval = 60 * time.Second
defaultPongTimeout = 90 * time.Second
defaultPongTimeout = 270 * time.Second
)

type receiveCbFunc func(chID byte, msgBytes []byte)
Expand Down

0 comments on commit 80a354a

Please sign in to comment.