Skip to content

Commit

Permalink
wait longer when not finding new data in the stream
Browse files Browse the repository at this point in the history
  • Loading branch information
hexoscott committed Oct 23, 2024
1 parent c63804a commit 59ea80c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zk/stages/stage_batches.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func SpawnStageBatches(
log.Warn(fmt.Sprintf("[%s] Context done", logPrefix))
endLoop = true
default:
time.Sleep(10 * time.Millisecond)
time.Sleep(1 * time.Second)
}

// if ds end reached check again for new blocks in the stream
Expand Down
4 changes: 2 additions & 2 deletions zk/tests/unwinds/unwind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ dataPath="./datadir"
firstStop=11204
stopBlock=11315
unwindBatch=70
firstTimeout=120s
secondTimeout=60s
firstTimeout=150s
secondTimeout=150s

rm -rf "$dataPath/rpc-datadir"
rm -rf "$dataPath/phase1-dump1"
Expand Down

0 comments on commit 59ea80c

Please sign in to comment.