Mercurial > kallithea
changeset 3964:8c11a295d131 beta
Added timeout option to gunicorn example config
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 07 Jun 2013 19:56:17 +0200 |
parents | 22f925aea8b4 |
children | 5aa571d559bf 636ff0369986 |
files | development.ini production.ini rhodecode/config/deployment.ini_tmpl |
diffstat | 3 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/development.ini Fri Jun 07 19:30:45 2013 +0200 +++ b/development.ini Fri Jun 07 19:56:17 2013 +0200 @@ -59,6 +59,9 @@ ## 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
--- a/production.ini Fri Jun 07 19:30:45 2013 +0200 +++ b/production.ini Fri Jun 07 19:56:17 2013 +0200 @@ -59,6 +59,9 @@ ## 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
--- a/rhodecode/config/deployment.ini_tmpl Fri Jun 07 19:30:45 2013 +0200 +++ b/rhodecode/config/deployment.ini_tmpl Fri Jun 07 19:56:17 2013 +0200 @@ -59,6 +59,9 @@ ## 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