From cad7ceb2aaa30e2beab871fcdac3e3c30c1c6012 Mon Sep 17 00:00:00 2001 From: "Craig Boger (from Dev Box)" Date: Tue, 28 Nov 2023 10:28:22 -0800 Subject: [PATCH] Comment out endpoint refresh during capturing http traffic. --- src/Common/CosmosClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,