fix(sqlite): bound WAL sidecar growth

This commit is contained in:
Peter Steinberger
2026-04-27 12:25:02 +01:00
parent bbfdb38e4e
commit 3bc29dd604
16 changed files with 234 additions and 14 deletions

View File

@@ -305,6 +305,8 @@ $OPENCLAW_STATE_DIR/tasks/runs.sqlite
```
The registry loads into memory at gateway start and syncs writes to SQLite for durability across restarts.
The Gateway keeps the SQLite write-ahead log bounded by using SQLite's default
autocheckpoint threshold plus periodic and shutdown `TRUNCATE` checkpoints.
### Automatic maintenance