prorm API Reference
    Preparing search index...

    Interface RedisClusterOptions

    Redis cluster options

    interface RedisClusterOptions {
        nodes?: RedisClusterNodeConfig[];
        replicaNodes?: RedisClusterNodeConfig[];
        password?: string;
        enableReadFromReplicas?: boolean;
        maxRedirections?: number;
        enableKeyspaceNotifications?: boolean;
        db?: number;
        connectTimeout?: number;
        commandTimeout?: number;
        tls?: boolean;
    }
    Index

    Array of Redis cluster node addresses

    replicaNodes?: RedisClusterNodeConfig[]

    Array of read replica nodes (for read scaling)

    password?: string

    Cluster password (used for all nodes)

    enableReadFromReplicas?: boolean

    Enable reading from replicas

    maxRedirections?: number

    Maximum number of redirects

    enableKeyspaceNotifications?: boolean

    Enable Redis keyspace notifications

    db?: number

    Redis database number (0-15)

    connectTimeout?: number

    Connection timeout in milliseconds

    commandTimeout?: number

    Command timeout in milliseconds

    tls?: boolean

    Enable TLS for all connections