-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration/fix service agreement #3402
base: release/v6.5.2
Are you sure you want to change the base?
Conversation
) { | ||
const currentBatch = serviceAgreementBatch.slice(j, j + BATCH_FOR_RPC_CALLS); | ||
|
||
const batchPromises = currentBatch.map((serviceAgreement) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this would work, nodes will start executing this simultaneously, will be a huge RPC load
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't do it in batches it will last too long, we can make batches smaller
Co-authored-by: Uladzislau Hubar <[email protected]>
No description provided.