Skip to main content

Module utils

Module utils 

Source
Expand description

Storage utility helpers shared across the storage sub-modules.

Functionsยง

is_sqlite_busy
Returns true when err wraps an SQLITE_BUSY (or SQLITE_LOCKED) condition reported by rusqlite.
with_busy_retry
Executes op up to MAX_SQLITE_BUSY_RETRIES times with exponential backoff whenever the operation fails with SQLITE_BUSY / SQLITE_LOCKED.