From a8b3da24bf3d285f978190db723f28b8a4e91ff2 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Fri, 30 Mar 2018 10:39:53 +0200 Subject: [PATCH] Increased upload limit to 200MB (#452) --- cps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cps.py b/cps.py index 523246b2..d9231edd 100755 --- a/cps.py +++ b/cps.py @@ -29,7 +29,8 @@ if __name__ == '__main__': web.start_gevent() else: web.app.logger.info('Falling back to Tornado') - http_server = HTTPServer(WSGIContainer(web.app)) + # Max Buffersize set to 200MB + http_server = HTTPServer(WSGIContainer(web.app),max_buffer_size = 209700000) http_server.listen(web.ub.config.config_port) IOLoop.instance().start() IOLoop.instance().close(True)