Skip to main content

allocate_with_timeout

Function allocate_with_timeout 

Source
pub fn allocate_with_timeout(
    lock_path: &Path,
    timeout: Duration,
) -> Result<Ulid, Error>
Expand description

Allocate with an explicit lock-acquisition timeout. Used by tests.