RetryOptions interface

Represents the Retry policy assocated with throttled requests in the Azure Cosmos DB database service.

Properties

fixedRetryIntervalInMilliseconds

Fixed retry interval in milliseconds to wait between each retry ignoring the retryAfter returned as part of the response.

maxRetryAttemptCount

Max number of retries to be performed for a request. Default value 9.

maxWaitTimeInSeconds

Max wait time in seconds to wait for a request while the retries are happening. Default value 30 seconds.

Property Details

fixedRetryIntervalInMilliseconds

Fixed retry interval in milliseconds to wait between each retry ignoring the retryAfter returned as part of the response.

fixedRetryIntervalInMilliseconds: number

Property Value

number

maxRetryAttemptCount

Max number of retries to be performed for a request. Default value 9.

maxRetryAttemptCount: number

Property Value

number

maxWaitTimeInSeconds

Max wait time in seconds to wait for a request while the retries are happening. Default value 30 seconds.

maxWaitTimeInSeconds: number

Property Value

number