diff --git a/src/Common/CosmosClient.ts b/src/Common/CosmosClient.ts index 7691c9040..85dc31a42 100644 --- a/src/Common/CosmosClient.ts +++ b/src/Common/CosmosClient.ts @@ -213,8 +213,8 @@ export function client(): Cosmos.CosmosClient { enableEndpointDiscovery: true, preferredLocations: ["East US", "Central US"], connectionMode: Cosmos.ConnectionMode.Gateway, - enableBackgroundEndpointRefreshing: true, - endpointRefreshRateInMs: 5000, + // enableBackgroundEndpointRefreshing: true, + // endpointRefreshRateInMs: 5000 }, userAgentSuffix: "Azure Portal", defaultHeaders: _defaultHeaders,