aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPjotr Prins2018-01-31 11:48:19 +0000
committerPjotr Prins2018-01-31 11:48:19 +0000
commit8e79b13e9126a1a978aff64cabfd374760e0b5cc (patch)
treee3e7b8098f092d74e2d7aa21dc848abff9484c56 /bin
parentc38cf0af74c3927f5b7d1da5416671f14c789f72 (diff)
downloadgenenetwork2-8e79b13e9126a1a978aff64cabfd374760e0b5cc.tar.gz
Startup: longer timeout for gunicorn-dev mode
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genenetwork22
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index 65330ec8..f64576d5 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -180,7 +180,7 @@ if [ "$1" = '-gunicorn-dev' ] ; then
cd $GN2_BASE_DIR/wqflask
echo PYTHONPATH=$PYTHONPATH
if [ -z $SERVER_PORT ]; then echo "ERROR: Provide a SERVER_PORT" ; exit 1 ; fi
- cmd="--bind 0.0.0.0:$SERVER_PORT --workers=1 --reload wsgi"
+ cmd="--bind 0.0.0.0:$SERVER_PORT --workers=1 --timeout 180 --reload wsgi"
echo RUNNING gunicorn $cmd
gunicorn $cmd
exit $?