The cross-process open grace: redb refuses any open while another process holds the database, so every daemon open — read or write, repository or change store — waits up to this budget for a short-lived writer (a recording agent turn in another process) to finish. The same budget the hook-side waits use; override with `ATOMIC_DB_LOCK_WAIT_MS`.
()
| 29 | /// writer (a recording agent turn in another process) to finish. The same |
| 30 | /// budget the hook-side waits use; override with `ATOMIC_DB_LOCK_WAIT_MS`. |
| 31 | pub fn database_open_wait() -> std::time::Duration { |
| 32 | atomic_repository::database_lock_wait() |
| 33 | } |
| 34 | |
| 35 | /// One registered repository: canonical root + the per-repository |
| 36 | /// serialization gate. redb permits ONE handle per database file even |
no test coverage detected