Skip to content

Commit

Permalink
Disable CherryPy timeout monitor
Browse files Browse the repository at this point in the history
Besides throwing errors, it doesn't really help anything. The actions still get performed. 
See also: cherrypy/cherrypy#1625
  • Loading branch information
Safihre committed Sep 2, 2017
1 parent 613ba49 commit 6068ca6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions SABnzbd.py
Expand Up @@ -1336,6 +1336,7 @@ def main():
'server.socket_port': cherryport,
'server.shutdown_timeout': 0,
'log.screen': False,
'engine.timeout_monitor.on': False,
'engine.autoreload.on': False,
'tools.encode.on': True,
'tools.gzip.on': True,
Expand Down
3 changes: 0 additions & 3 deletions sabnzbd/api.py
Expand Up @@ -105,9 +105,6 @@ def api_handler(kwargs):
name = kwargs.get('name', '')
callback = kwargs.get('callback', '')

# Extend the timeout of API calls to 10minutes
cherrypy.response.timeout = 600

if isinstance(mode, list):
mode = mode[0]
if isinstance(output, list):
Expand Down

0 comments on commit 6068ca6

Please sign in to comment.