mirror of
https://github.com/EKKOLearnAI/hermes-web-ui.git
synced 2026-05-28 06:50:14 +00:00
f2bf2ffe92
- Auto-detect WSL environment and use home directory for database to avoid cross-filesystem issues - Change SQLite journal_mode from DELETE to WAL for better concurrency - Add synchronous=NORMAL and busy_timeout=5000 for better reliability - This fixes message write failures in WSL environments WSL2's 9P protocol doesn't fully support POSIX file locks across filesystems, causing SQLite write failures. Using WAL mode and local filesystem fixes this. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>