implement pause between mutations
Open
- Dominant language
- Julia
- Stars
- 175
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
> If you are making a large number of POST, PATCH, PUT, or DELETE requests, wait at least one second between each request. This will help you avoid secondary rate limits.
https://docs.github.com/en/rest/using-the-rest-api/best-practices-for-using-the-rest-api?apiVersion=2022-11-28#pause-between-mutative-requests
We could implement this by saving the last timestamp of a POST, PATCH, PUT, or DELETE in a global variable, then checking/delaying/updating it when making a new POST, PATCH, PUT, or DELETE request (atomically).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.