From a37404f6b9a3486943fa1dbbca35b4a3e9cff77e Mon Sep 17 00:00:00 2001 From: Maitiu O Ciarain Date: Tue, 7 Aug 2018 09:25:00 +0100 Subject: [PATCH] Make the max_body_size & max_buffer_size configurable --- notebook/notebookapp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/notebook/notebookapp.py b/notebook/notebookapp.py index 8b0d5b153..913a8c4fe 100755 --- a/notebook/notebookapp.py +++ b/notebook/notebookapp.py @@ -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'),