azure-devops-python-api icon indicating copy to clipboard operation
azure-devops-python-api copied to clipboard

rate-limiting support

Open bmc-msft opened this issue 5 years ago • 1 comments

Azure Devops includes rate limits that could be complex to predict in an automated solution. According to the documentation, the endpoints provide headers in responses in the instances that the client has hit a rate limiting threshold.

Is responding to the Retry-After header as discussed as recommendations in the API on the roadmap?

The API uses msrest as an HTTP library, which doesn't appear to support it at this time. Note, much of the Azure SDK uses azure-core which provides Retry-After support.

bmc-msft avatar Jun 25 '20 15:06 bmc-msft

Following this one. We're hitting the limits pretty frequently now. At this time I can only introduce random limits between calls myself, but would be great to have the Retry-After header. Is this in the backlog now?

suchir001 avatar Dec 04 '20 23:12 suchir001