Add flags for PPAF

This commit is contained in:
Sindhu Balasubramanian 2025-09-15 11:27:58 -07:00
parent 922ca5c523
commit 9cf3c7902e

View File

@ -207,6 +207,8 @@ export function client(): Cosmos.CosmosClient {
defaultHeaders: _defaultHeaders,
connectionPolicy: {
enableEndpointDiscovery: !userContext.selectedRegionalEndpoint,
enablePartitionLevelFailover: true,
enablePartitionLevelCircuitBreaker: true,
retryOptions: {
maxRetryAttemptCount: LocalStorageUtility.getEntryNumber(StorageKey.RetryAttempts),
fixedRetryIntervalInMilliseconds: LocalStorageUtility.getEntryNumber(StorageKey.RetryInterval),