p2p: relax pong timeout (#8007)

This commit is contained in:
Sam Kleinman
2022-02-25 10:58:29 -05:00
committed by GitHub
parent 49e3688b79
commit c8ae5db50e
+1 -1
View File
@@ -46,7 +46,7 @@ const (
defaultRecvRate = int64(512000) // 500KB/s
defaultSendTimeout = 10 * time.Second
defaultPingInterval = 60 * time.Second
defaultPongTimeout = 45 * time.Second
defaultPongTimeout = 90 * time.Second
)
type receiveCbFunc func(ctx context.Context, chID ChannelID, msgBytes []byte)