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
only consider stream output for data rate limit #2293
Conversation
large stream outputs cause much more problems than image output this does open up to large HTML and/or displayed text output, but those seem to behave well more often than they don't.
This sounds like a good solution. Thanks so much for the quick response! |
It just occurred to me that this was slated for 5.1 and I merged it on to master. Is this ok or do I need to revert it? |
I think we should probably revert it, or make a |
Reverting's probably easiest for now. |
This was reverted in #2326, so it will need to be repeated for 5.1. |
Thank you, my apologies. Glad this PR was made. |
large stream outputs cause much more problems than images or binary widget data, which seem to hit the rate limit more than anything.
this does open us up to large HTML and/or displayed text output potentially causing issues,
but most large outputs that have been hitting this limit do not cause issues (#2287).
The main throttle that's important is DOM elements to be added to the page. We can't feasibly distinguish between a massive million-element SVG and HTML with one big image in it.
This does explicitly remove the ability to do throttling based on bandwith. If people do want that, I can add the stream limit to a new config value. In that case, I would change the default all-output rate limit to no limit, so the same behavior as this PR, just with an extra knob.
closes #2287