File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ python3 manage.py check
2727
2828DD_UWSGI_LOGFORMAT_DEFAULT=' [pid: %(pid)|app: -|req: -/-] %(addr) (%(dd_user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))'
2929
30- EXTRA_ARGS= " "
30+ DD_UWSGI_EXTRA_ARGS= " ${DD_UWSGI_EXTRA_ARGS :- } "
3131if [ -n " ${DD_UWSGI_MAX_FD} " ]; then
32- EXTRA_ARGS =" ${EXTRA_ARGS } --max-fd ${DD_UWSGI_MAX_FD} "
32+ DD_UWSGI_EXTRA_ARGS =" ${DD_UWSGI_EXTRA_ARGS } --max-fd ${DD_UWSGI_MAX_FD} "
3333fi
3434
3535exec uwsgi \
@@ -42,5 +42,5 @@ exec uwsgi \
4242 --buffer-size=" ${DD_UWSGI_BUFFER_SIZE:- 8192} " \
4343 --http 0.0.0.0:8081 --http-to " ${DD_UWSGI_ENDPOINT} " \
4444 --logformat " ${DD_UWSGI_LOGFORMAT:- $DD_UWSGI_LOGFORMAT_DEFAULT } " \
45- $EXTRA_ARGS
45+ $DD_UWSGI_EXTRA_ARGS
4646 # HTTP endpoint is enabled for Kubernetes liveness checks. It should not be exposed as a service.
You can’t perform that action at this time.
0 commit comments