Skip to content

Commit

Permalink
Increase gunicorn timeout to 120
Browse files Browse the repository at this point in the history
Default of 30 turned out to expire when pushing large data into OPA (in DataUpdater)
  • Loading branch information
roekatz committed May 16, 2024
1 parent f837d77 commit c44a7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ "${PDP_ENABLE_MONITORING}" == "true" ]
then
ddtrace=ddtrace-run
fi
$ddtrace gunicorn -b 0.0.0.0:${UVICORN_PORT} -k uvicorn.workers.UvicornWorker --workers=${UVICORN_NUM_WORKERS} -c ${GUNICORN_CONF} ${UVICORN_ASGI_APP}
$ddtrace gunicorn -b 0.0.0.0:${UVICORN_PORT} -k uvicorn.workers.UvicornWorker -t 120 --workers=${UVICORN_NUM_WORKERS} -c ${GUNICORN_CONF} ${UVICORN_ASGI_APP}
return_code=$?

if [ "$return_code" == 3 ]
Expand Down

0 comments on commit c44a7fc

Please sign in to comment.