A newer version of this documentation is available.

View Latest

Client Settings

  • reference
    +
    Client settings
    The backend implementation of client settings changed substantially in 4.0. Full details can be found in the API Reference.

    Unresolved include directive in modules/ref/pages/client-settings.adoc - include::7.1.2@sdk:shared:partial$client-settings-nowait.adoc[]

    Configuration Profiles

    Configuration Profiles provide predefined client settings that allow you to quickly configure an environment for common use-cases. When using a configuration profile, the current client settings are overridden with the values provided in the profile. Any property that is not specified in the profile is left unchanged.

    The Configuration Profiles feature is currently a Volatile API and may be subject to change.

    WAN Development

    Cluster Option: applyProfile("wan_development")

    A wan_development configuration profile can be used to modify client settings for development or high-latency environments. This profile changes the default timeouts.

    Table 1. Profile Settings
    Setting Value

    connectTimeout

    20s

    keyValueTimeout

    20s

    keyValueDurableTimeout

    20s

    viewTimeout

    120s

    queryTimeout

    120s

    analyticsTimeout

    120s

    searchTimeout

    120s

    managementTimeout

    120s

    Do not set kvDurableTimeout above 65s, which is the maximum possible SyncWrite timeout on the Server side.