Skip to content

Commit

Permalink
Merge pull request #627 from builder90210/faster_tx_fetch
Browse files Browse the repository at this point in the history
Reduce txArriveTimeout to 100ms
  • Loading branch information
temaniarpit27 authored Dec 22, 2022
2 parents d8fcda3 + 243d231 commit 4aa56c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/fetcher/tx_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 4aa56c5

Please sign in to comment.