Skip to content

Commit

Permalink
max attempt time [goreleaser]
Browse files Browse the repository at this point in the history
  • Loading branch information
golangisfun123 committed Oct 28, 2024
1 parent 2829c0f commit 88f9165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/opbot/botmd/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (b *Bot) rfqRefund() *slacker.CommandDefinition {
return nil
},
retry.WithMaxAttempts(5),
retry.WithMaxTotalTime(30*time.Second),
retry.WithMaxAttemptTime(30*time.Second),
)
if err != nil {
b.logger.Errorf(ctx.Context(), "error fetching quote request: %v", err)
Expand Down

0 comments on commit 88f9165

Please sign in to comment.