Make the max_body_size & max_buffer_size configurable

pull/3829/head
Maitiu O Ciarain 8 years ago
parent b94cc449db
commit a37404f6b9

@ -240,11 +240,6 @@ class NotebookWebApplication(web.Application):
iopub_data_rate_limit=jupyter_app.iopub_data_rate_limit,
rate_limit_window=jupyter_app.rate_limit_window,
# maximum request sizes - support saving larger notebooks
# tornado defaults are 100 MiB, we increase it to 0.5 GiB
max_body_size = 512 * 1024 * 1024,
max_buffer_size = 512 * 1024 * 1024,
# authentication
cookie_secret=jupyter_app.cookie_secret,
login_url=url_path_join(base_url,'/login'),

Loading…
Cancel
Save