mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-05 08:23:53 +08:00
- Fix ref counting race in ListProjects and watcher pollAll: use AcquireStore instead of ForProject to prevent evictor from closing stores mid-query (#52) - Add recoverStaleSHM: remove stale SHM files after SIGKILL to prevent deadlock on next connection (#52) - Increase busy_timeout from 5s to 10s for large databases (#52) - Default GOMEMLIMIT to 2GB when not configured, preventing unbounded memory growth and OOM kills (#49, #46) - Reduce mmap_size from 256MB to 64MB per database (#49, #46) - Increase watcher base interval from 1s to 5s and poll interval base from 1s to 5s, reducing CPU usage by ~5x (#45) - Normalize Windows drive letter to lowercase in ProjectNameFromPath, preventing duplicate databases for same path (#50)