aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-08-09 18:35:36 +0000
committerzsloan2021-08-09 18:35:36 +0000
commit3ae0ab231c529f765e48557dec7e336fa3bd9ede (patch)
tree79d7e25f2868168d1353dfd7f7827b09279bd57f
parentdb0bdf52156b4f75402a7a92584d162aa5d9b151 (diff)
parentd29dfb72ceb005ab045203a36b1fc1552544b1e2 (diff)
downloadgenenetwork2-3ae0ab231c529f765e48557dec7e336fa3bd9ede.tar.gz
Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testing
-rwxr-xr-xbin/genenetwork22
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index 5f4e0f9a..2b94b2a2 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 --workers 20 --keep-alive 6000 --max-requests 1000 --timeout 1200 wsgi"
+ cmd="--bind 0.0.0.0:$SERVER_PORT --pid $PID --workers 20 --keep-alive 6000 --max-requests 100 --max-requests-jitter 30 --timeout 1200 wsgi"
echo RUNNING gunicorn $cmd
gunicorn $cmd
exit $?