发布

  • Fix stability: SQLite lock race, stale SHM recovery, OOM guard, CPU reduction

    frostbyte_neo 发布于 2026-03-12 14:06:20 +00: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)
    下载附件