@valkey/valkey-glide
    Preparing search index...

    Interface FailoverOptions

    Options for the FAILOVER command.

    valkey.io for details.

    interface FailoverOptions {
        abort?: boolean;
        timeoutMs?: number;
        to?: { force?: boolean; host: string; port: number };
    }
    Index
    abort?: boolean

    Abort an ongoing failover.

    timeoutMs?: number

    Timeout in milliseconds.

    to?: { force?: boolean; host: string; port: number }

    Target replica to failover to. If force is true, forces failover after timeout.