Files
Timmy-time-dashboard/tests/infrastructure/test_db_pool.py
kimi 892d773f63
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
feat: add ConnectionPool class with thread-local SQLite connections
- Add src/infrastructure/db_pool.py with ConnectionPool class
- Implements thread-local storage for SQLite connections
- Provides get_connection(), close_connection(), and connection() context manager
- Multiple calls from same thread reuse the same connection
- Different threads get different connections

Refs #769
2026-03-21 18:00:34 -04:00

10 KiB