mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
crazy timeouts
This commit is contained in:
parent
fb6d9787cc
commit
5b46c6654d
1 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
defaultSearchTimeout = 3 * time.Second
|
||||
defaultSearchTimeout = 8 * time.Second
|
||||
// maximum number of forwarded requests (hops), to make sure requests are not
|
||||
// forwarded forever in peer loops
|
||||
maxHopCount uint8 = 20
|
||||
|
|
@ -38,7 +38,7 @@ const (
|
|||
|
||||
// Time to consider peer to be skipped.
|
||||
// Also used in stream delivery.
|
||||
var RequestTimeout = 10 * time.Second
|
||||
var RequestTimeout = 26 * time.Second
|
||||
|
||||
type RequestFunc func(context.Context, *Request) (*enode.ID, chan struct{}, error)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue