Package version:

Interface RetryOptions

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

interface RetryOptions {
    fixedRetryIntervalInMilliseconds: number;
    maxRetryAttemptCount: number;
    maxWaitTimeInSeconds: number;
}

Properties

fixedRetryIntervalInMilliseconds: number

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

maxRetryAttemptCount: number

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

maxWaitTimeInSeconds: number

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