Major Domo Database - PostgreSQL database service for SBA bot
Reviewer correctly identified that removing the finally block introduced real connection leaks for handlers that do not call db.close() on their own error paths. Peewee's PooledDatabase.close() is a no-op on the second call, so double-close is harmless — the finally block provides necessary safety net. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .gitea/workflows | ||
| app | ||
| migrations | ||
| scripts | ||
| tests | ||
| .dockerignore | ||
| .env | ||
| .gitignore | ||
| CLAUDE.md | ||
| deploy.sh | ||
| docker-compose.yml | ||
| Dockerfile | ||
| LICENSE | ||
| pytest.ini | ||
| requirements.txt | ||
| VERSION | ||