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

fix: bump max payload size up to 25MB #31974

Merged
merged 1 commit into from
Feb 27, 2019

Conversation

w33ble
Copy link
Contributor

@w33ble w33ble commented Feb 25, 2019

This PR bumps the max payload size for the batching interpreter route up to 25MB. The default of 1MB is very easy to hit, so it's not hard to make Canvas fail, and 25MB is the limit we've set for the entire workpad, so it's definitely an absolute maximum there too.

Fixes an issue @monfera was seeing today where he was getting POST http://localhost:5601/s/awesome-space/api/canvas/fns 413 (Payload Too Large) on a very small workpad.

These settings used to be under config, but based on the hapijs docs, it's all options now.

default of 1MB is very easy to hit, so it's not hard to make Canvas fail
@w33ble w33ble added review v7.0.0 Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas v8.0.0 v6.7.0 v7.2.0 v6.7.1 v7.0.1 labels Feb 25, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-canvas

@w33ble w33ble added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Feb 25, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@monfera monfera merged commit 2028fdf into elastic:master Feb 27, 2019
monfera pushed a commit to monfera/kibana that referenced this pull request Feb 27, 2019
default of 1MB is very easy to hit, so it's not hard to make Canvas fail
monfera pushed a commit to monfera/kibana that referenced this pull request Feb 27, 2019
default of 1MB is very easy to hit, so it's not hard to make Canvas fail
monfera pushed a commit to monfera/kibana that referenced this pull request Feb 27, 2019
default of 1MB is very easy to hit, so it's not hard to make Canvas fail
monfera added a commit that referenced this pull request Feb 27, 2019
default of 1MB is very easy to hit, so it's not hard to make Canvas fail
monfera added a commit that referenced this pull request Feb 27, 2019
default of 1MB is very easy to hit, so it's not hard to make Canvas fail
monfera added a commit that referenced this pull request Feb 27, 2019
default of 1MB is very easy to hit, so it's not hard to make Canvas fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas Team:Visualizations Visualization editors, elastic-charts and infrastructure v6.7.0 v7.0.0 v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants