Skip to content

Commit

Permalink
Add DefaultJitter
Browse files Browse the repository at this point in the history
  • Loading branch information
dimriou committed Sep 2, 2024
1 parent c3dfeec commit 3f70efa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/chains/evm/gas/fee_history_estimator.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ func (f *FeeHistoryEstimator) Close() error {
func (f *FeeHistoryEstimator) run() {
defer f.wg.Done()

t := services.NewTicker(f.config.CacheTimeout)
t := services.TickerConfig{
JitterPct: services.DefaultJitter,
}.NewTicker(f.config.CacheTimeout)

for {
select {
case <-f.stopCh:
Expand Down

0 comments on commit 3f70efa

Please sign in to comment.