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

Support chunking in the middle of a series in the emitter #6126

Merged
merged 1 commit into from
Mar 31, 2016

Conversation

jsternberg
Copy link
Contributor

Fixes #6115.

@jsternberg jsternberg force-pushed the js-6115-chunked-query-support-mid-series branch 2 times, most recently from 5b73ec4 to b62ae06 Compare March 25, 2016 20:50
@jsternberg jsternberg added this to the 0.12.0 milestone Mar 28, 2016
@jsternberg jsternberg force-pushed the js-6115-chunked-query-support-mid-series branch 2 times, most recently from 106cd51 to e5574d5 Compare March 29, 2016 19:48
// If you want to return more than the default chunk size, then use chunking
// to process multiple blobs.
rows += len(r.Series)
if rows > DefaultChunkSize {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this an http config limit option? Default to 10000 and allow 0 to disable it.

@jsternberg jsternberg force-pushed the js-6115-chunked-query-support-mid-series branch from e5574d5 to f5f385b Compare March 29, 2016 21:41
Limit the maximum size of the return value when chunking is not used to
prevent the server from going out of memory.

Fixes #6115.
@jsternberg jsternberg force-pushed the js-6115-chunked-query-support-mid-series branch from f5f385b to 364dce3 Compare March 30, 2016 18:39
@jwilder
Copy link
Contributor

jwilder commented Mar 30, 2016

👍

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

Successfully merging this pull request may close these issues.

2 participants