mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +00:00
p2p/discover: bump packet timeouts to 500ms
This commit is contained in:
parent
fd4b75cfa8
commit
bcfd788661
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ var (
|
||||||
|
|
||||||
// Timeouts
|
// Timeouts
|
||||||
const (
|
const (
|
||||||
respTimeout = 300 * time.Millisecond
|
respTimeout = 500 * time.Millisecond
|
||||||
sendTimeout = 300 * time.Millisecond
|
sendTimeout = 500 * time.Millisecond
|
||||||
expiration = 20 * time.Second
|
expiration = 20 * time.Second
|
||||||
|
|
||||||
refreshInterval = 1 * time.Hour
|
refreshInterval = 1 * time.Hour
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue