mirror of
https://github.com/corazoncp/zoom-sched-poc.git
synced 2026-12-01 04:50:31 +00:00
fix(CR-03): run Gunicorn with 1 worker and 4 threads for authoritative in-memory rate limiting
- Change --workers 2 to --workers 1 in Dockerfile so Flask-Limiter memory:// storage is shared across threads
This commit is contained in:
1 parent
8c0191e958
commit
d66ae2641e
1 file changed
+1
-1
+1
-1
@@ -18,4 +18,4 @@ RUN mkdir -p /app/data
|
|||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|
||||||
CMD ["uv", "run", "--no-dev", "gunicorn", "--bind", "0.0.0.0:8000", "--workers", "2", "--threads", "4", "app:create_app()"]
|
CMD ["uv", "run", "--no-dev", "gunicorn", "--bind", "0.0.0.0:8000", "--workers", "1", "--threads", "4", "app:create_app()"]
|
||||||
Reference in new issue
Block a user