pliancy/timelyapp-sdk

Feature Idea: Rate-limiting

Opened this issue ยท 1 comments

Hello ๐Ÿ‘‹

Thanks for this awesome package. It really helps us out with our integration between Timely and Tripletex!

Due to the number of requests that we run towards the Timely API, we're hitting the rate-limiting functionality of the API. I've implemented a simple retry script that listens for status code 429 and uses retry-after header to determine when to try again. Maybe this should be implemented in this client instead?

Would you consider a contribution from me on this?

My retry thing can be found here:
https://gist.github.com/cobraz/7716c83da0c71edfd535c4e19d331691

@simenandre Thanks so much for the feedback and please accept our apology for the super late response! I just learned that you have to actually watch your own repo to get notifications about it ๐Ÿคฆ. We're pretty short on resources (if our response time doesn't speak for itself), but we'd be happy to look at a PR if there's any chance you haven't solved this problem by now.