@dxos/react-client
    Preparing search index...

    Interface LeaderTimeoutOptions

    interface LeaderTimeoutOptions {
        heartbeatInterval?: number;
        portTimeout?: number;
        staleTimeout?: number;
    }
    Index

    Properties

    heartbeatInterval?: number

    Interval at which a leader broadcasts liveness heartbeats while holding the lock.

    portTimeout?: number

    Duration a follower waits for a port from the leader before re-evaluating leadership.

    staleTimeout?: number

    Duration without a heartbeat after which a lock-holding leader is considered stale and its lock may be stolen to force re-election.