|
Extract single shared Database pool, eliminate 4 duplicated pool creations
- Create navi/db.py::Database managing one asyncpg pool - KvStore, PgSessionStore, MemoryStore, RecallScheduler now accept pool in constructor - AppContainer holds Database, shutdown closes one pool instead of 4 - create_container creates one pool and passes it to all stores - All tests updated to set _initialized=True on fakes to skip DDL 392 passed, 1 skipped Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| navi/core/container.py |
|---|
| navi/core/pg_session_store.py |
|---|
| navi/core/scheduler.py |
|---|
| navi/db.py 0 → 100644 |
|---|
| navi/main.py |
|---|
| navi/memory/store.py |
|---|
| navi/store/__init__.py |
|---|
| tests/conftest_factory.py |
|---|
| tests/integration/conftest.py |
|---|
| tests/unit/store/test_kv_store.py |
|---|