You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BaseHTTPMiddleware는 요청당 2개 asyncio task를 생성한다. --limit-concurrency 100은 여전히 200개 task가 event loop를 포화시켜 health check 포함 모든 요청이 block됐다. 변경 사항: - docker-compose.yml: --limit-concurrency 100 → 20 (세마포어 10개 처리 + 10개 대기, 나머지 20초과 시 503으로 즉시 반환) - alpaca_price_service.py: upsert 루프 청크 사이 + Phase 4 ORM 일괄 생성 후 await asyncio.sleep(0) 추가 — 동기 CPU 블로킹 중 event loop yield 보장 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
4 months ago | |
|---|---|---|
| .. | ||
| api | 4 months ago | |
| core | 4 months ago | |
| middleware | 4 months ago | |
| models | 4 months ago | |
| schemas | 4 months ago | |
| services | 4 months ago | |
| utils | 5 months ago | |
| __init__.py | 5 months ago | |
| main.py | 5 months ago | |