Show More
@@ -295,8 +295,8 b' class NotebookApp(BaseIPythonApplication):' | |||||
295 |
|
295 | |||
296 | kernel_argv = List(Unicode) |
|
296 | kernel_argv = List(Unicode) | |
297 |
|
297 | |||
298 |
max_msg_size = Integer( |
|
298 | max_msg_size = Integer(2**20, config=True, help=""" | |
299 | The max raw message size accepted from the browser |
|
299 | The max raw message size (in bytes) accepted from the browser | |
300 | over a WebSocket connection. |
|
300 | over a WebSocket connection. | |
301 | """) |
|
301 | """) | |
302 |
|
302 |
@@ -81,7 +81,7 b' class ZMQChannelHandler(AuthenticatedZMQStreamHandler):' | |||||
81 |
|
81 | |||
82 | @property |
|
82 | @property | |
83 | def max_msg_size(self): |
|
83 | def max_msg_size(self): | |
84 |
return self.settings.get('max_msg_size', |
|
84 | return self.settings.get('max_msg_size', 2**20) | |
85 |
|
85 | |||
86 | def create_stream(self): |
|
86 | def create_stream(self): | |
87 | km = self.kernel_manager |
|
87 | km = self.kernel_manager |
General Comments 0
You need to be logged in to leave comments.
Login now