mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-06 03:00:23 +00:00
Comment out endpoint refresh during capturing http traffic.
This commit is contained in:
@@ -213,8 +213,8 @@ export function client(): Cosmos.CosmosClient {
|
|||||||
enableEndpointDiscovery: true,
|
enableEndpointDiscovery: true,
|
||||||
preferredLocations: ["East US", "Central US"],
|
preferredLocations: ["East US", "Central US"],
|
||||||
connectionMode: Cosmos.ConnectionMode.Gateway,
|
connectionMode: Cosmos.ConnectionMode.Gateway,
|
||||||
enableBackgroundEndpointRefreshing: true,
|
// enableBackgroundEndpointRefreshing: true,
|
||||||
endpointRefreshRateInMs: 5000,
|
// endpointRefreshRateInMs: 5000
|
||||||
},
|
},
|
||||||
userAgentSuffix: "Azure Portal",
|
userAgentSuffix: "Azure Portal",
|
||||||
defaultHeaders: _defaultHeaders,
|
defaultHeaders: _defaultHeaders,
|
||||||
|
|||||||
Reference in New Issue
Block a user