1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-06-25 22:53:17 +00:00

Increased upload limit to 200MB (#452)

This commit is contained in:
OzzieIsaacs 2018-03-30 10:39:53 +02:00
parent be3e1e4864
commit a8b3da24bf

3
cps.py
View File

@ -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)