Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions model-engine/model_engine_server/api/worker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from uvicorn.workers import UvicornWorker

# Gunicorn returns 503 instead of 429 when concurrency exceeds the limit, before adding rate limiting just increase the concurrency
# We'll autoscale at target concurrency of a much lower number (around 50), and this just makes sure we don't 503 with bursty traffic
CONCURRENCY_LIMIT = 1000


Expand Down