From 62d6e79193d022f3ac8523bf70cc38b748da289c Mon Sep 17 00:00:00 2001 From: kbearXD Date: Fri, 15 Mar 2024 11:24:10 +0800 Subject: [PATCH] dca2: use GeneralBackoff not GeneralLiteBackoff --- pkg/strategy/dca2/strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/strategy/dca2/strategy.go b/pkg/strategy/dca2/strategy.go index ecb4b24368..6519be79d1 100644 --- a/pkg/strategy/dca2/strategy.go +++ b/pkg/strategy/dca2/strategy.go @@ -398,7 +398,7 @@ func (s *Strategy) CalculateAndEmitProfitUntilSuccessful(ctx context.Context) er return nil } - return retry.GeneralLiteBackoff(ctx, op) + return retry.GeneralBackoff(ctx, op) } func (s *Strategy) CalculateAndEmitProfit(ctx context.Context, historyService types.ExchangeTradeHistoryService, queryService types.ExchangeOrderQueryService) error {