Skip to content

Commit 243d231

Browse files
committed
Reduce txArriveTimeout to 100ms
1 parent 50a7782 commit 243d231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eth/fetcher/tx_fetcher.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ const (
5555

5656
// txArriveTimeout is the time allowance before an announced transaction is
5757
// explicitly requested.
58-
txArriveTimeout = 500 * time.Millisecond
58+
txArriveTimeout = 100 * time.Millisecond
5959

6060
// txGatherSlack is the interval used to collate almost-expired announces
6161
// with network fetches.
62-
txGatherSlack = 100 * time.Millisecond
62+
txGatherSlack = 20 * time.Millisecond
6363
)
6464

6565
var (

0 commit comments

Comments
 (0)