Increase file upload size to 1GB
This commit is contained in:
@@ -3738,6 +3738,7 @@ class WebInterface(object):
|
||||
else:
|
||||
return {'result': 'error', 'message': 'Failed to delete device.'}
|
||||
|
||||
@cherrypy.config(**{'response.timeout': 3600})
|
||||
@cherrypy.expose
|
||||
@cherrypy.tools.json_out()
|
||||
@requireAuth(member_of("admin"))
|
||||
|
@@ -89,6 +89,8 @@ def initialize(options):
|
||||
'server.socket_host': options['http_host'],
|
||||
'environment': options['http_environment'],
|
||||
'server.thread_pool': 10,
|
||||
'server.max_request_body_size': 1073741824,
|
||||
'server.socket_timeout': 60,
|
||||
'tools.encode.on': True,
|
||||
'tools.encode.encoding': 'utf-8',
|
||||
'tools.decode.on': True
|
||||
|
Reference in New Issue
Block a user