Budget for opening the repository database when another process may hold the writer lock (session starts, ledger reads, checkpoint publication). The shared database-open budget — the daemon's opens wait on the same knob. Override with `ATOMIC_DB_LOCK_WAIT_MS`.
()
| 20 | /// The shared database-open budget — the daemon's opens wait on the same |
| 21 | /// knob. Override with `ATOMIC_DB_LOCK_WAIT_MS`. |
| 22 | pub fn database_wait() -> Duration { |
| 23 | atomic_repository::database_lock_wait() |
| 24 | } |
| 25 | |
| 26 | /// Budget a Stop waits for another session's Stop to finish publishing its |
| 27 | /// ledger under the cross-process publication lock. |
no test coverage detected