From b1c985e9c2a9684631f90373e5f540ccb8006155 Mon Sep 17 00:00:00 2001 From: "Craig Boger (from Dev Box)" Date: Thu, 14 Dec 2023 12:45:23 -0800 Subject: [PATCH] Testing table accounts. --- .vscode/settings.json | 4 ++-- src/Common/CosmosClient.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index d66e1654c..a57d40961 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,8 +20,8 @@ "typescript.tsdk": "node_modules/typescript/lib", "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, - "source.organizeImports": true + "source.fixAll.eslint": "explicit", + "source.organizeImports": "explicit" }, "typescript.preferences.importModuleSpecifier": "non-relative", "editor.defaultFormatter": "esbenp.prettier-vscode" diff --git a/src/Common/CosmosClient.ts b/src/Common/CosmosClient.ts index 2aadae5b7..4ac042111 100644 --- a/src/Common/CosmosClient.ts +++ b/src/Common/CosmosClient.ts @@ -198,10 +198,10 @@ export function client(): Cosmos.CosmosClient { tokenProvider, connectionPolicy: { enableEndpointDiscovery: true, - preferredLocations: ["East US", "Central US"], - connectionMode: Cosmos.ConnectionMode.Gateway, - enableBackgroundEndpointRefreshing: true, - endpointRefreshRateInMs: 5000, + // preferredLocations: ["East US", "Central US"], + // connectionMode: Cosmos.ConnectionMode.Gateway, + // enableBackgroundEndpointRefreshing: true, + // endpointRefreshRateInMs: 5000, }, userAgentSuffix: "Azure Portal", defaultHeaders: _defaultHeaders,