From d39a25343c9d0f39924a55291d396dcad83edcab Mon Sep 17 00:00:00 2001 From: Jack Farrelly Date: Wed, 10 Jan 2024 23:26:38 +0100 Subject: [PATCH] Increase default attempts --- src/main/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.go b/src/main/main.go index 24a4bc1..f8ac000 100644 --- a/src/main/main.go +++ b/src/main/main.go @@ -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) {