# HG changeset patch # User Marcin Kuzminski # Date 2013-06-07 19:56:17 # Node ID 8c11a295d1319a20bff157144e71473b506bafbf # Parent 22f925aea8b481f6e09b672f2305320f9a524ebe Added timeout option to gunicorn example config diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -59,6 +59,9 @@ max_request_body_size = 107374182400 ## recommended for bigger setup is using of of other than sync one #worker_class = sync #max_requests = 5 +## ammount of time a worker can handle request before it get's killed and +## restarted +#timeout = 3600 ## COMMON ## host = 0.0.0.0 diff --git a/production.ini b/production.ini --- a/production.ini +++ b/production.ini @@ -59,6 +59,9 @@ max_request_body_size = 107374182400 ## recommended for bigger setup is using of of other than sync one #worker_class = sync #max_requests = 5 +## ammount of time a worker can handle request before it get's killed and +## restarted +#timeout = 3600 ## COMMON ## host = 127.0.0.1 diff --git a/rhodecode/config/deployment.ini_tmpl b/rhodecode/config/deployment.ini_tmpl --- a/rhodecode/config/deployment.ini_tmpl +++ b/rhodecode/config/deployment.ini_tmpl @@ -59,6 +59,9 @@ max_request_body_size = 107374182400 ## recommended for bigger setup is using of of other than sync one #worker_class = sync #max_requests = 5 +## ammount of time a worker can handle request before it get's killed and +## restarted +#timeout = 3600 ## COMMON ## host = 127.0.0.1