Skip to content

Commit

Permalink
fix: on querying canonical client, use a fixed retry delay instead of…
Browse files Browse the repository at this point in the history
… expo (#53)
  • Loading branch information
danwt authored Nov 20, 2024
1 parent 82effff commit c6dfbd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions relayer/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func (c *Chain) blockUntilClientIsCanonical(ctx context.Context, rollappID strin
},
retry.Attempts(0), // forever
retry.Delay(20*time.Second),
retry.DelayType(retry.FixedDelay),
retry.OnRetry(func(n uint, err error) {
c.log.Info("Query canonical client.", zap.Any("attempt", n), zap.Error(err))
}),
Expand Down

0 comments on commit c6dfbd4

Please sign in to comment.