You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library needs to implement retries on certain conditions just like the official C# SDK.
The instances I can think of now where retries need to happen are on 400s, 404s, and 429s (request rate too large).
How will we know when a request has been throttled? The response header, coming from Cosmos, will contain an entry called "x-ms-retry-after-ms". This header indicates that the request was indeed throttled, and lets us know when we should try the request again.
See Common Azure Cosmos DB REST response headers for a list of common response headers.
The text was updated successfully, but these errors were encountered:
The library needs to implement retries on certain conditions just like the official C# SDK.
The instances I can think of now where retries need to happen are on 400s, 404s, and 429s (request rate too large).
How will we know when a request has been throttled? The response header, coming from Cosmos, will contain an entry called "x-ms-retry-after-ms". This header indicates that the request was indeed throttled, and lets us know when we should try the request again.
See Common Azure Cosmos DB REST response headers for a list of common response headers.
The text was updated successfully, but these errors were encountered: