Skip to content
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

batchSize for read/massQuery #84

Open
JN-Jones opened this issue Aug 19, 2024 · 1 comment
Open

batchSize for read/massQuery #84

JN-Jones opened this issue Aug 19, 2024 · 1 comment

Comments

@JN-Jones
Copy link

We have some pretty long articles in our wiki and querying enough with read (or massQuery) results in an API/Server error: Warning received from API: result: This result was truncated because it would otherwise be larger than the limit of 8,388,608 bytes.

With readGen (or massQueryGen) I've the possibility to adjust the batch size accordingly, however for the non-generator functions I'm missing this possibility.

@JN-Jones
Copy link
Author

Maybe as a different idea here (not sure whether this is possible though): If the above warning is returned from the API, discard the result and reschedule the request with a smaller (half?) batch size automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant