Skip to content

Commit

Permalink
Merge branch 'fix/periodically-clear-underpriced' into qa1018
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhang2023 committed Oct 27, 2023
2 parents 59ddf1e + fd4f8b4 commit 1d06cf0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eth/fetcher/tx_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ const (
// re-request them.
maxTxUnderpricedSetSize = 32768

// maxTxUnderpricedTimeout is the max time a transaction should be stuck in the underpriced set.
maxTxUnderpricedTimeout = int64(5 * time.Minute)
// maxTxUnderpricedTimeout is the max time a transaction should be stuck in the underpriced set
// set as 5 minutes.
maxTxUnderpricedTimeout = 300

// txArriveTimeout is the time allowance before an announced transaction is
// explicitly requested.
Expand Down

0 comments on commit 1d06cf0

Please sign in to comment.