Skip to content

Commit

Permalink
Increase default attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpf committed Jan 10, 2024
1 parent 1e82751 commit d39a253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func main() {
apiInstance := api.NewApi(*appConfig, args.IsLive, args.IsVerbose, krakenAPI)
schedulerInstance := scheduler.NewScheduler(*appConfig, metrics.NewMetrics(), apiInstance, notifiers)

retry.DefaultAttempts = 10
retry.DefaultAttempts = 11
retry.DefaultDelay = 60 * time.Second
retry.DefaultDelayType = retry.BackOffDelay
retry.DefaultOnRetry = func(n uint, err error) {
Expand Down

0 comments on commit d39a253

Please sign in to comment.