CosmosExecutorConfiguration.MaxRetryWaitTimeOnThrottledRequests Property

Definition

Gets or sets the maximum retry time in seconds for the Azure Cosmos DB service.

public int? MaxRetryWaitTimeOnThrottledRequests { get; set; }
public int MaxRetryWaitTimeOnThrottledRequests { get; set; }
member this.MaxRetryWaitTimeOnThrottledRequests : Nullable<int> with get, set
member this.MaxRetryWaitTimeOnThrottledRequests : int with get, set
Public Property MaxRetryWaitTimeOnThrottledRequests As Nullable(Of Integer)
Public Property MaxRetryWaitTimeOnThrottledRequests As Integer

Property Value

Nullable<Int32>
Int32

The default value is 30 seconds.

Remarks

When a request fails due to a rate limiting error, the service sends back a response that contains a value indicating the client should not retry before the time period has elapsed. This property allows the application to set a maximum wait time for all retry attempts. If the cumulative wait time exceeds the this value, the client will stop retrying and return the error to the application.

Applies to