kanidmd_lib::constants

Constant DB_LOCK_ACQUIRE_TIMEOUT_MILLIS

source
pub const DB_LOCK_ACQUIRE_TIMEOUT_MILLIS: u64 = 5000;
Expand description

The amount of time to wait to acquire a database ticket before timing out. Higher values allow greater operation queuing but can cause feedback loops where operations will stall for long periods.