add max_request_body_size, socket_timeout, and timeout configuration on server.py
This commit is contained in:
parent
00ebbcf666
commit
8fa748fd62
@ -7,7 +7,10 @@ update = {
|
|||||||
'tools.sessions.on' : True ,
|
'tools.sessions.on' : True ,
|
||||||
'engine.autoreload.on' : False ,
|
'engine.autoreload.on' : False ,
|
||||||
'request.show_tracebacks' : False ,
|
'request.show_tracebacks' : False ,
|
||||||
'error_page.403' : directory.erpadir(403) ,
|
'error_page.403' : directory.erpadir(403) ,
|
||||||
'error_page.404' : directory.erpadir(404) ,
|
'error_page.404' : directory.erpadir(404) ,
|
||||||
'error_page.500' : directory.erpadir(500) ,
|
'error_page.500' : directory.erpadir(500) ,
|
||||||
|
'server.max_request_body_size' : 800 * 1024 * 1024 , # 800MB; Default 100MB
|
||||||
|
'server.socket_timeout' : 60 , # Default 10s
|
||||||
|
'response.timeout' : 3600 , # Default 300s
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user