fix: lifespan no longer holds long-lived SQLAlchemy session
Inject SessionLocal as factory into ActiveSessionService. Short-lived sessions via with db_factory() as db: prevent Broken pipe from stale connections. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
1 changed file
with
4 additions
and
3 deletions
-
Please register or sign in to post a comment