Add busyTimeout config setting

Entire-Checkpoint: 81097a6c52a2
This commit is contained in:
2026-03-16 11:30:21 +01:00
parent e4f3fa9ba0
commit df93dbed63
4 changed files with 11 additions and 1 deletions

View File

@@ -148,7 +148,8 @@ usage can be tuned via the optional `db-config` section in config.json under
"soft-heap-limit-mb": 16384,
"max-open-connections": 4,
"max-idle-connections": 4,
"max-idle-time-minutes": 10
"max-idle-time-minutes": 10,
"busy-timeout-ms": 60000
}
}
}
@@ -166,6 +167,7 @@ are used.
| `max-open-connections` | 4 | Maximum number of open database connections. |
| `max-idle-connections` | 4 | Maximum number of idle database connections kept in the pool. |
| `max-idle-time-minutes` | 10 | Maximum time in minutes a connection can sit idle before being closed. |
| `busy-timeout-ms` | 60000 | SQLite busy timeout in milliseconds. When a write is blocked by another writer, SQLite retries internally with backoff for up to this duration before returning `SQLITE_BUSY`. |
### Sizing Guidelines