Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
fix(BUX-250): add warrinng if sync task lasts too long
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszos4chain committed Nov 14, 2023
1 parent ad47ebe commit 5a222e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ func taskSyncTransactions(ctx context.Context, c ClientInterface, opts ...ModelO
)
defer unlock()
if err != nil {
return err
logClient.Warn(ctx, "cannot run sync transaction(s) task, previous run is not complete yet...")
return nil
}

err = processSyncTransactions(ctx, 100, opts...)
Expand Down

0 comments on commit 5a222e2

Please sign in to comment.