Skip to content

Commit

Permalink
Merge pull request #441 from libp2p/feat/reduce-idle-timeout
Browse files Browse the repository at this point in the history
feat: reduce stream idle timeout to 1m
  • Loading branch information
Stebalien authored Jan 28, 2020
2 parents 995fee9 + 3f8b219 commit 61b639e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht_net.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

var dhtReadMessageTimeout = time.Minute
var dhtStreamIdleTimeout = 10 * time.Minute
var dhtStreamIdleTimeout = 1 * time.Minute
var ErrReadTimeout = fmt.Errorf("timed out reading response")

// The Protobuf writer performs multiple small writes when writing a message.
Expand Down

0 comments on commit 61b639e

Please sign in to comment.