Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Dec 12, 2024
1 parent 0a7fd76 commit ad33f7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/state/exec3/historical_trace_worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,11 +295,9 @@ func NewHistoricalTraceWorkers(consumer TraceConsumer, cfg *ExecArgs, ctx contex

// we all errors in background workers (except ctx.Cancel), because applyLoop will detect this error anyway.
// and in applyLoop all errors are critical
for i := 0; i < workerCount; i++ {
workers[i] = NewHistoricalTraceWorker(consumer, in, rws, true, ctx, cfg, logger)
}
for i := 0; i < workerCount; i++ {
i := i
workers[i] = NewHistoricalTraceWorker(consumer, in, rws, true, ctx, cfg, logger)
g.Go(func() (err error) {
defer func() {
if rec := recover(); rec != nil {
Expand Down

0 comments on commit ad33f7a

Please sign in to comment.