Skip to content

Commit 8ba5b31

Browse files
committed
Reduce block sync batch size
Up until now we used a batch size of 100,000 blocks when back syncing blocks. This caused issues with timouts in some cases and on some execution clients while performing `eth_getLogs` calls. This now changes the max batch size to 10,000.
1 parent fe4ea5f commit 8ba5b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rolling-shutter/keyperimpl/gnosis/validatorsyncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
const (
2727
ValidatorRegistrationMessageVersion = 0
28-
maxRequestBlockRange = 100000
28+
maxRequestBlockRange = 10_000
2929
)
3030

3131
type ValidatorSyncer struct {

0 commit comments

Comments
 (0)