Skip to content

Commit

Permalink
Changed context timeout value for StartPrepareCoinDistributionsForRev…
Browse files Browse the repository at this point in the history
…iewMonitor (#231)
  • Loading branch information
ice-myles authored Dec 6, 2024
1 parent bde5d32 commit 222a6d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coin-distribution/pending_review.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func (r *repository) StartPrepareCoinDistributionsForReviewMonitor(ctx context.C
for {
select {
case <-ticker.C:
reqCtx, cancel := context.WithTimeout(ctx, 10*stdlibtime.Minute) //nolint:gomnd // .
reqCtx, cancel := context.WithTimeout(ctx, 30*stdlibtime.Minute) //nolint:gomnd // .
log.Error(errors.Wrap(tryPrepareCoinDistributionsForReview(reqCtx, r.db), "failed to tryPrepareCoinDistributionsForReview"))
cancel()
case <-ctx.Done():
Expand Down

0 comments on commit 222a6d0

Please sign in to comment.