Unbounded asyncio.create_task calls could exhaust CPU and memory on modest hardware. Add a configurable semaphore (MAX_CONCURRENT_ANALYSES, default 3) so excess jobs queue instead of running all at once. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| analysis_service.py | ||
| document_service.py | ||