Skip to content

Commit 04d445e

Browse files
Higher concurrency limit for gunicorn (#249)
1 parent 2c1cece commit 04d445e

File tree

1 file changed

+1
-3
lines changed
  • model-engine/model_engine_server/api

1 file changed

+1
-3
lines changed

model-engine/model_engine_server/api/worker.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
from uvicorn.workers import UvicornWorker
22

3-
# The target concurrency is around 50, so we set the limit to 32 with 4 workers
4-
# for a total concurrency of 128 to allow for some headroom.
5-
CONCURRENCY_LIMIT = 32
3+
CONCURRENCY_LIMIT = 1000
64

75

86
class LaunchWorker(UvicornWorker):

0 commit comments

Comments
 (0)