mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
Reduce txArriveTimeout to 100ms
This commit is contained in:
parent
50a778207e
commit
243d231fe4
1 changed files with 2 additions and 2 deletions
|
|
@ -55,11 +55,11 @@ const (
|
|||
|
||||
// txArriveTimeout is the time allowance before an announced transaction is
|
||||
// explicitly requested.
|
||||
txArriveTimeout = 500 * time.Millisecond
|
||||
txArriveTimeout = 100 * time.Millisecond
|
||||
|
||||
// txGatherSlack is the interval used to collate almost-expired announces
|
||||
// with network fetches.
|
||||
txGatherSlack = 100 * time.Millisecond
|
||||
txGatherSlack = 20 * time.Millisecond
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
|||
Loading…
Reference in a new issue