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

    Type Alias AdvancedGlideClusterClientConfiguration

    AdvancedGlideClusterClientConfiguration: AdvancedBaseClientConfiguration & {
        refreshTopologyFromInitialNodes?: boolean;
    }

    Represents advanced configuration settings for creating a GlideClusterClient used in GlideClusterClientConfiguration.

    Type Declaration

    • OptionalrefreshTopologyFromInitialNodes?: boolean

      Enables refreshing the cluster topology using only the initial nodes.

      When this option is enabled, all topology updates (both the periodic checks and on-demand refreshes triggered by topology changes) will query only the initial nodes provided when creating the client, rather than using the internal cluster view.

      If not set, defaults to false (uses internal cluster view for topology refresh).

    const config: AdvancedGlideClusterClientConfiguration = {
    connectionTimeout: 500, // Set the connection timeout to 500ms
    tlsAdvancedConfiguration: {
    insecure: true, // Skip TLS certificate verification (use only in development)
    },
    refreshTopologyFromInitialNodes: true, // Refresh topology from initial seed nodes
    };