Mercurial > kallithea
changeset 4092:1d24330289a2
Added uwsgi timeouts into example
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 18 Jul 2013 12:52:29 +0200 |
parents | 433d6385b216 |
children | 77193ad2ea61 |
files | development.ini production.ini rhodecode/bin/template.ini.mako rhodecode/config/deployment.ini_tmpl |
diffstat | 4 files changed, 18 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/development.ini Wed Jul 17 12:24:07 2013 +0200 +++ b/development.ini Thu Jul 18 12:52:29 2013 +0200 @@ -59,7 +59,7 @@ ## 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 +## ammount of time a worker can handle request before it gets killed and ## restarted #timeout = 3600 @@ -94,6 +94,10 @@ ## enable large buffers #buffer-size=65535 +## socket and http timeouts ## +#http-timeout=3600 +#socket-timeout=3600 + ## Log requests slower than the specified number of milliseconds. #log-slow = 10
--- a/production.ini Wed Jul 17 12:24:07 2013 +0200 +++ b/production.ini Thu Jul 18 12:52:29 2013 +0200 @@ -59,7 +59,7 @@ ## 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 +## ammount of time a worker can handle request before it gets killed and ## restarted #timeout = 3600 @@ -94,6 +94,10 @@ ## enable large buffers #buffer-size=65535 +## socket and http timeouts ## +#http-timeout=3600 +#socket-timeout=3600 + ## Log requests slower than the specified number of milliseconds. #log-slow = 10
--- a/rhodecode/bin/template.ini.mako Wed Jul 17 12:24:07 2013 +0200 +++ b/rhodecode/bin/template.ini.mako Thu Jul 18 12:52:29 2013 +0200 @@ -103,6 +103,10 @@ <%text>## enable large buffers</%text> buffer-size=65535 +<%text>## socket and http timeouts ##</%text> +http-timeout=3600 +socket-timeout=3600 + <%text>## Log requests slower than the specified number of milliseconds.</%text> log-slow = 10
--- a/rhodecode/config/deployment.ini_tmpl Wed Jul 17 12:24:07 2013 +0200 +++ b/rhodecode/config/deployment.ini_tmpl Thu Jul 18 12:52:29 2013 +0200 @@ -94,6 +94,10 @@ ## enable large buffers #buffer-size=65535 +## socket and http timeouts ## +#http-timeout=3600 +#socket-timeout=3600 + ## Log requests slower than the specified number of milliseconds. #log-slow = 10