Browse Source

p2p: relax pong timeout (#8007)

pull/8008/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
c8ae5db50e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/p2p/conn/connection.go

+ 1
- 1
internal/p2p/conn/connection.go 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)


Loading…
Cancel
Save