From 8e79b13e9126a1a978aff64cabfd374760e0b5cc Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 31 Jan 2018 11:48:19 +0000 Subject: Startup: longer timeout for gunicorn-dev mode --- bin/genenetwork2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $? -- cgit v1.2.3