-
Notifications
You must be signed in to change notification settings - Fork 77
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
Limit the number of requests in a batch call (<500) #23
Comments
Ehi, thanks for the report, going to check this days and once done i'll update you 👍 😄 |
Getblock limit it |
Hey @Linch1 Just wondering if the below works, I am not sure if I am doing correct combining the receipts data from the node provider. New function to slice hashes array into multiple arrays.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey mate, Hope you're well.
Is it easy to limit the number of requests in a batch call for instance, less than 500.
For example, analyseBlock-> getBlockSyncEvents->getReceiptsBatch(transactions) is returning error due to the batch size being greater than 500.
Transaction hashes are 1200 and the node provider is limiting to 500 in a batch call.
Can we update getReceiptsBatch(hashes) function in this file ./workers/lib/scrape.block.past.js to split the hashes array into multiple as per the set size like 500 in each array.
Any thoughts please?
The text was updated successfully, but these errors were encountered: