Skip to content

Commit

Permalink
increase p2p read and idle timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricfung committed Feb 17, 2024
1 parent b90f723 commit 01fdadf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/quic.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
const (
MaxIncomingStreams = 128
HandshakeTimeout = 10 * time.Second
IdleTimeout = 60 * time.Second
ReadDeadline = 10 * time.Second
IdleTimeout = 600 * time.Second
ReadDeadline = 300 * time.Second
WriteDeadline = 10 * time.Second
)

Expand Down

0 comments on commit 01fdadf

Please sign in to comment.