diff options
author | Pjotr Prins | 2018-01-31 11:48:19 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-01-31 11:48:19 +0000 |
commit | 8e79b13e9126a1a978aff64cabfd374760e0b5cc (patch) | |
tree | e3e7b8098f092d74e2d7aa21dc848abff9484c56 /bin | |
parent | c38cf0af74c3927f5b7d1da5416671f14c789f72 (diff) | |
download | genenetwork2-8e79b13e9126a1a978aff64cabfd374760e0b5cc.tar.gz |
Startup: longer timeout for gunicorn-dev mode
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/genenetwork2 | 2 |
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 $? |