distributed
ModuleA lock shared between servers: a lease on a Redis key that only its holder can refresh or release.
Contents
use utopia_lock::Distributed;Rust
pub struct Distributed<C = ConnectionManager>A lease on a Redis key: SET key token NX EX ttl, released and refreshed
only by the holder of the token. Instances on the same key compete.