mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-08 20:54:33 +00:00
decrease sync chunk size (#988)
While mainnet performance is being worked on, this helps with the flow.
This commit is contained in:
parent
3ffd0d7216
commit
c1aff83b8b
@ -553,7 +553,9 @@ proc runSyncLoop(node: BeaconNode) {.async.} =
|
|||||||
|
|
||||||
var syncman = newSyncManager[Peer, PeerID](
|
var syncman = newSyncManager[Peer, PeerID](
|
||||||
node.network.peerPool, getLocalHeadSlot, getLocalWallSlot,
|
node.network.peerPool, getLocalHeadSlot, getLocalWallSlot,
|
||||||
updateLocalBlocks
|
updateLocalBlocks,
|
||||||
|
# TODO increase when block processing perf improves
|
||||||
|
chunkSize = 8
|
||||||
)
|
)
|
||||||
|
|
||||||
await syncman.sync()
|
await syncman.sync()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user