From 3fa32c8f7d9d2a3bf518c29f4f700073a32f1f7e Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 18 Apr 2013 16:19:59 -0400 Subject: [PATCH] Decrease restart timeouts for django and tornado command lines. (imported from commit 5653de5e4e39f6ecfade794738d334a360bf2a7e) --- tools/django-command-line | 2 +- tools/tornado-command-line | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/django-command-line b/tools/django-command-line index 0af3d0dfec..8fe931b11c 100755 --- a/tools/django-command-line +++ b/tools/django-command-line @@ -1,2 +1,2 @@ #!/bin/sh -x -while true; do python /home/humbug/humbug-deployments/current/manage.py runfcgi socket=/home/humbug/humbug-deployments/current/fastcgi-socket outlog=/home/humbug/logs/app.out errlog=/humbug/humbug/logs/app.err daemonize=False; sleep 1; done +while true; do python /home/humbug/humbug-deployments/current/manage.py runfcgi socket=/home/humbug/humbug-deployments/current/fastcgi-socket outlog=/home/humbug/logs/app.out errlog=/humbug/humbug/logs/app.err daemonize=False; sleep 0.2; done diff --git a/tools/tornado-command-line b/tools/tornado-command-line index 225f8516c6..09973c5d7a 100755 --- a/tools/tornado-command-line +++ b/tools/tornado-command-line @@ -1,2 +1,2 @@ #!/bin/sh -x -while true; do python /home/humbug/humbug-deployments/current/manage.py runtornado localhost:9993; sleep 1; done +while true; do python /home/humbug/humbug-deployments/current/manage.py runtornado localhost:9993; sleep 0.1; done