Skip to content

Commit

Permalink
fix retry panic
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed May 9, 2024
1 parent 1914572 commit d18b708
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/substreams-sink-noop/head_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ func (s *HeadTracker) Start() {

go func() {
activeCursor := ""
backOff := backoff.WithContext(backoff.NewExponentialBackOff(), ctx)
bo := backoff.NewExponentialBackOff()
bo.MaxElapsedTime = 0
backOff := backoff.WithContext(bo, ctx)
receivedMessage := false

for {
Expand Down

0 comments on commit d18b708

Please sign in to comment.