Skip to content

Commit 8b0158e

Browse files
author
Gabriel Monroy
committed
fix(scheduler): add gunicorn timeout for long-running methods
1 parent e7ae1d8 commit 8b0158e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ chown -R deis:deis /var/log/deis
5555
sudo -E -u deis ./manage.py syncdb --migrate --noinput
5656

5757
# spawn a gunicorn server in the background
58-
sudo -E -u deis ./manage.py run_gunicorn -b 0.0.0.0 -w 8 -t 600 -n deis --log-level debug --pid=/tmp/gunicorn.pid --preload &
58+
sudo -E -u deis ./manage.py run_gunicorn -b 0.0.0.0 -w 8 -t 600 -n deis --log-level debug --pid=/tmp/gunicorn.pid --timeout=1200 &
5959

6060
# smart shutdown on SIGINT and SIGTERM
6161
function on_exit() {

0 commit comments

Comments
 (0)