Skip to content

Commit

Permalink
Increase stream reset timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-tra committed Mar 21, 2021
1 parent 6d97e0b commit 6c8db45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func (n *Node) ResetOnShutdown(s network.Stream) context.CancelFunc {
// there is a 10 second timeout.
func (n *Node) WaitForEOF(s network.Stream) error {
log.Debugln("Waiting for stream reset from peer...")
timeout := time.After(time.Minute)
timeout := time.After(3 * time.Minute)
done := make(chan error)
go func() {
buf := make([]byte, 1)
Expand Down

0 comments on commit 6c8db45

Please sign in to comment.