From fb6eb385c97ebce3b351ec3c97c1ae1b30e43fb7 Mon Sep 17 00:00:00 2001 From: Valentin Staykov Date: Thu, 31 Oct 2024 11:51:58 +0000 Subject: [PATCH] fix: add a small sleep interval in the entry loop --- zk/stages/stage_batches.go | 1 + 1 file changed, 1 insertion(+) diff --git a/zk/stages/stage_batches.go b/zk/stages/stage_batches.go index f9a588b3d42..704eaccb849 100644 --- a/zk/stages/stage_batches.go +++ b/zk/stages/stage_batches.go @@ -287,6 +287,7 @@ func SpawnStageBatches( log.Warn(fmt.Sprintf("[%s] Context done", logPrefix)) endLoop = true default: + time.Sleep(10 * time.Millisecond) } if endLoop {