[kimi] Add ConnectionPool class with unit tests (#769) #830

Merged
kimi merged 1 commits from kimi/issue-769 into main 2026-03-21 22:02:09 +00:00

1 Commits

Author SHA1 Message Date
kimi
892d773f63 feat: add ConnectionPool class with thread-local SQLite connections
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
- 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