Skip to content

Commit

Permalink
fix: add a small sleep interval in the entry loop
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov committed Oct 31, 2024
1 parent abadf1d commit fb6eb38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zk/stages/stage_batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ func SpawnStageBatches(
log.Warn(fmt.Sprintf("[%s] Context done", logPrefix))
endLoop = true
default:
time.Sleep(10 * time.Millisecond)
}

if endLoop {
Expand Down

0 comments on commit fb6eb38

Please sign in to comment.