fix: uwsgi workers not starting properly

This commit is contained in:
Muhammad Faraz Maqsood 2024-10-22 19:50:44 +05:00 committed by Muhammad Faraz Maqsood
parent c72ffd819a
commit 4c559d5382
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- [BugFix] Uwsgi workers wasn't starting properly using `UWSGI_WORKERS` flag, passing the value directly fixes the issue. (by @Faraz32123)

View File

@ -167,6 +167,6 @@ CMD ["uwsgi", \
"--thunder-lock", \
"--single-interpreter", \
"--enable-threads", \
"--processes=${UWSGI_WORKERS:-2}", \
"--processes=2", \
"--buffer-size=8192", \
"--wsgi-file", "credentials/wsgi.py"]