Skip to content

Commit

Permalink
decrease index.chunk size from 10,000 to 5 (#135)
Browse files Browse the repository at this point in the history
this reduces the number of concurrent rpc requests when the validator is trying to catch up from an old block

Co-authored-by: Sam <[email protected]>
  • Loading branch information
assafmo and sampocs authored Oct 16, 2024
1 parent 43551d2 commit b2c9be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/shared/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export async function fromContext(
mailboxContractInfo.contract_info.created.block_height,
) - 1
: undefined,
chunk: 10_000,
chunk: 5,
},
blocks: {
confirmations: 0,
Expand Down

0 comments on commit b2c9be2

Please sign in to comment.