Menu

#Max_concurrency

1 post

Feed
1 of 1 post
FastAPI 0.163's new dependency concurrency limit deadlocked two of my routes
📰
0Read More

FastAPI 0.163's new dependency concurrency limit deadlocked two of my routes

DEV Community: fastapi·Alex Georgiev·18 days ago
#8D9kGgK8

FastAPI 0.163.0's Depends(max_concurrency=...) cut 20 concurrent calls to a peak of 5, but applies per Depends() object and per worker process, and two yield dependencies acquired in opposite order hung forever.

15s