kontent-ai / delivery-sdk-js

Kontent Delivery SDK for Javascript
https://kontent.ai
MIT License
50 stars 34 forks source link

Automatic retry of 429 error in Content Management SDK #201

Closed matus12 closed 5 years ago

matus12 commented 5 years ago

Motivation

The default retry policy in Content Management SDK could retry the 429 errors and take into consideration the retry-after header value. This way I get the maximum possible rate of requests to Kentico Cloud without implementing my own retry policy.

Proposed solution

Retry 429 errors based on retry-after header value.

Enngage commented 5 years ago

Moved to https://github.com/Kentico/kontent-management-sdk-js/issues/6