Reverting enabling endpoint discovery since it didn't have time during CCOA to bake in MPAC. (#1698)
This commit is contained in:
parent
0f69b7998f
commit
b19aa3fbca
|
@ -148,6 +148,9 @@ export function client(): Cosmos.CosmosClient {
|
||||||
endpoint: endpoint() || "https://cosmos.azure.com", // CosmosClient gets upset if we pass a bad URL. This should never actually get called
|
endpoint: endpoint() || "https://cosmos.azure.com", // CosmosClient gets upset if we pass a bad URL. This should never actually get called
|
||||||
key: userContext.masterKey,
|
key: userContext.masterKey,
|
||||||
tokenProvider,
|
tokenProvider,
|
||||||
|
connectionPolicy: {
|
||||||
|
enableEndpointDiscovery: false,
|
||||||
|
},
|
||||||
userAgentSuffix: "Azure Portal",
|
userAgentSuffix: "Azure Portal",
|
||||||
defaultHeaders: _defaultHeaders,
|
defaultHeaders: _defaultHeaders,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue