aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGN22018-09-05 03:38:46 -0500
committerGN22018-09-05 03:38:46 -0500
commitb3c2253a99ff9495a0132f466df825340ddf367c (patch)
tree4a1f310cbf0b0ec94c0c18a29bc17d157263c34b /bin
parent2ca99d6ec5bdf14313154cfd8638d155e2676384 (diff)
downloadgenenetwork2-b3c2253a99ff9495a0132f466df825340ddf367c.tar.gz
Production updates
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genenetwork22
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index b3a8d8c2..006e87ba 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -210,7 +210,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 $?