aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPjotr Prins2020-04-27 17:14:37 -0500
committerPjotr Prins2020-04-27 17:14:37 -0500
commit13942f9229ff623ddde98ae9d328fc8492f210fa (patch)
tree70034917d552d4f8994d32f308522824f36d2ae6 /bin
parente05b70e1a9aaea5e71d4f616ad86e5625a0cdb4c (diff)
parentcaa9966df61a9e4290d36af557adc3ede1a3674b (diff)
downloadgenenetwork2-gn-master.tar.gz
Mergedgn-master
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genenetwork22
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index 1c538e86..759c71dc 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -209,7 +209,7 @@ if [ "$1" = '-gunicorn-prod' ] ; then
echo PYTHONPATH=$PYTHONPATH
if [ -z $SERVER_PORT ]; then echo "ERROR: Provide a SERVER_PORT" ; exit 1 ; fi
PID=$TMPDIR/gunicorn.$USER.pid
- cmd="--bind 0.0.0.0:$SERVER_PORT --pid $PID -k eventlet --workers 20 --keep-alive 1200 --max-requests 1000 --timeout 1200 wsgi"
+ cmd="--bind 0.0.0.0:$SERVER_PORT --pid $PID -k eventlet --workers 20 --keep-alive 6000 --max-requests 1000 --timeout 1200 wsgi"
echo RUNNING gunicorn $cmd
gunicorn $cmd
exit $?