Back to Firebase Js Sdk

RemoteConfigSettings interface

docs-devsite/remote-config.remoteconfigsettings.md

12.12.11.6 KB
Original Source

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

RemoteConfigSettings interface

Defines configuration options for the Remote Config SDK.

<b>Signature:</b>

typescript
export interface RemoteConfigSettings 

Properties

PropertyTypeDescription
fetchTimeoutMillisnumberDefines the maximum amount of milliseconds to wait for a response when fetching configuration from the Remote Config server. Defaults to 60000 (One minute).
minimumFetchIntervalMillisnumberDefines the maximum age in milliseconds of an entry in the config cache before it is considered stale. Defaults to 43200000 (Twelve hours).

RemoteConfigSettings.fetchTimeoutMillis

Defines the maximum amount of milliseconds to wait for a response when fetching configuration from the Remote Config server. Defaults to 60000 (One minute).

<b>Signature:</b>

typescript
fetchTimeoutMillis: number;

RemoteConfigSettings.minimumFetchIntervalMillis

Defines the maximum age in milliseconds of an entry in the config cache before it is considered stale. Defaults to 43200000 (Twelve hours).

<b>Signature:</b>

typescript
minimumFetchIntervalMillis: number;