Hi Team,
We have integrated Growthbook using the React SDK and realized that live updates are not necessary for our specific use case. Therefore, we have configured the GrowthBook instance as shown below:
const gb = new GrowthBook({
apiHost: GROWTH_BOOK_API_HOST,
clientKey: GROWTH_BOOK_CLIENT_KEY,
// Enable easier debugging during development
enableDevMode: true,
// Disable background streaming connection
backgroundSync: false,
subscribeToChanges: false,
trackingCallback: (experiment, result) => {
// analytics tracking
}
});
However, despite these settings, we still observe that the streaming API requests are being made every 5 minutes. Additionally, the GrowthBook dashboard indicates that streaming updates are enabled in the SDK connection.
Please advise on how to disable the streaming updates.