|
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m59s
Removes the `finally` block that called `db.close()` after rollback in the `handle_db_errors` decorator. With connection pooling, route handlers already call `db.close()` themselves, so closing again in the error handler could return connections to the pool twice, corrupting pool state. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| routers_v3 | ||
| services | ||
| __init__.py | ||
| db_engine.py | ||
| dependencies.py | ||
| main.py | ||