Method HandleThrottlingException
HandleThrottlingException(RetryableException)
Defines the behavior of the rate limiter when throttling exception
occurs.
Declaration
void HandleThrottlingException(RetryableException ex)
Parameters
Type | Name | Description |
---|---|---|
RetryableException | ex | An exception, which is instance of either ReadThrottlingException or WriteThrottlingException |
Remarks
If throttling exception has occurred, this usually means that
current rate limiter state does not correctly reflect the rate of
incoming operations and needs to be adjusted. For example, you
may remove any unused credits that were previously used to allow
operations to proceed without waiting.