node-rest-client
node-rest-client copied to clipboard
Support for retry
Need support for request retry
Vote for this. Would like to have possibility or workarounds at least to retry all rate limit 429 responses, for example after 1 second, 2,4,8,...,64 seconds
We are using node-rest-client widely in our project. And if i'm trying to decorate get,post methods with polly-js it looks ugly and doeesn't really work. Especially with .on('error') methods
Is it possible to retry requests? Does anyone knows any workaround to do this without rework all parts that are using node-rest-client?