Files
memoryweave/go
xiaowei daabd54649 fix(graph_sqlite): add busy_timeout + stale WAL/SHM cleanup on startup
Root cause: No busy_timeout set → immediate 'database is locked' on restart
when stale WAL/SHM/journal files remain from crashed previous instance.

Fix:
- On open(): clean stale -wal/-shm/-journal files (only if main db exists)
- After sqlite3_open(): set busy_timeout=10000ms (10s wait for locks)
- This eliminates the InMemoryGraph fallback on restart
2026-05-30 17:35:29 +08:00
..
2026-05-28 17:35:25 +08:00