subql
subql copied to clipboard
new dictionary limit flag, decouple with batchSize
Prerequisites
- [ ] Are you running the latest version(s)?
- [ ] Have you searched the documentation for your issue?
- [ ] Did you search for an existing issue or pull request?
Description
When we construct dictionary query, we set first: batchSize.toString()
, which may leads to more query requests if batchSize is small.
The thing is we change batchSize mostly considering memory usage and rpc ratelimits, not dictionary queries.
Details
We should use a separated flag for dictionary limit, and default it to a larger value like 100