@@ -23,7 +23,7 @@ func Connect(ctx context.Context, dataDir string) (*sql.DB, error) {
2323 // Set pragmas for better performance
2424 pragmas := []string{
2525 "PRAGMA foreign_keys = ON;",
26− "PRAGMA journal_mode = DELETE;",
26+ "PRAGMA journal_mode = WAL;",
2727 "PRAGMA page_size = 4096;",
2828 "PRAGMA cache_size = -8000;",
2929 "PRAGMA synchronous = NORMAL;",