Skip to content

Commit

Permalink
increase timeouts to 5min because container actions can take some tim…
Browse files Browse the repository at this point in the history
…e (with multi-server registry etc.)
  • Loading branch information
Michel Käser committed Aug 9, 2015
1 parent 0f27035 commit 2c312f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/confs/nginx/ipynbsrv.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ server {

location / {
include /usr/local/openresty/nginx/conf/uwsgi_params;
uwsgi_read_timeout 300s;
uwsgi_send_timeout 300s;
uwsgi_param REQUEST_URI $uri$args;
uwsgi_pass unix:/var/run/ipynbsrv/ipynbsrv.sock;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/confs/uwsgi/ipynbsrv.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ master=True
vacuum=True
max-requests=5000
processes=5
harakiri=30
harakiri=300
chmod-socket = 660
chown-socket = www-data:www-data
pidfile=/var/run/ipynbsrv/ipynbsrv.pid
Expand Down

0 comments on commit 2c312f8

Please sign in to comment.