Skip to content

Commit a37404f

Browse files
committed
Make the max_body_size & max_buffer_size configurable
1 parent b94cc44 commit a37404f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

notebook/notebookapp.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,6 @@ def init_settings(self, jupyter_app, kernel_manager, contents_manager,
240240
iopub_data_rate_limit=jupyter_app.iopub_data_rate_limit,
241241
rate_limit_window=jupyter_app.rate_limit_window,
242242

243-
# maximum request sizes - support saving larger notebooks
244-
# tornado defaults are 100 MiB, we increase it to 0.5 GiB
245-
max_body_size = 512 * 1024 * 1024,
246-
max_buffer_size = 512 * 1024 * 1024,
247-
248243
# authentication
249244
cookie_secret=jupyter_app.cookie_secret,
250245
login_url=url_path_join(base_url,'/login'),

0 commit comments

Comments
 (0)