Skip to content

Commit

Permalink
fix(esb/bin/start.sh): make max-requests smaller (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
wklken authored Apr 16, 2024
1 parent 0ebca83 commit 8a5e77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esb/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ if [ -f "${envfile}" ]; then
set +a
fi

command="gunicorn wsgi --env prometheus_multiproc_dir=/tmp/ -k gevent -w ${GUNICORN_WORKERS:-16} -b [::]:${PORT:-6010} --max-requests ${GUNICORN_MAX_REQUESTS:-10000} --max-requests-jitter ${GUNICORN_MAX_REQUESTS_JITTER:-2000} --timeout 600 --graceful-timeout ${GUNICORN_GRACEFUL_TIMEOUT:-30} --keep-alive ${GUNICORN_KEEP_ALIVE:-0} --access-logfile - --error-logfile - --access-logformat '[%(h)s] %({request_id}i)s %(u)s %(t)s \"%(r)s\" %(s)s %(D)s %(b)s \"%(f)s\" \"%(a)s\"'"
command="gunicorn wsgi --env prometheus_multiproc_dir=/tmp/ -k gevent -w ${GUNICORN_WORKERS:-16} -b [::]:${PORT:-6010} --max-requests ${GUNICORN_MAX_REQUESTS:-5000} --max-requests-jitter ${GUNICORN_MAX_REQUESTS_JITTER:-200} --timeout 600 --graceful-timeout ${GUNICORN_GRACEFUL_TIMEOUT:-30} --keep-alive ${GUNICORN_KEEP_ALIVE:-0} --access-logfile - --error-logfile - --access-logformat '[%(h)s] %({request_id}i)s %(u)s %(t)s \"%(r)s\" %(s)s %(D)s %(b)s \"%(f)s\" \"%(a)s\"'"
exec bash -c "$command"

0 comments on commit 8a5e77b

Please sign in to comment.