fix(stock-analytics): 동시 요청 시 DB 연결 충돌 해결

- daily-trend, stock-level API에서 각 요청마다 새로운 pyodbc 연결 사용
- SQLAlchemy 세션 공유로 인한 'concurrent operations' 에러 해결
- 연결 종료 처리 추가 (정상/에러 모두)
This commit is contained in:
thug0bin
2026-03-13 00:35:29 +09:00
parent 93c643cb8e
commit 591af31da9
2 changed files with 1372 additions and 0 deletions

File diff suppressed because it is too large Load Diff