JuliaWeb / JuliaWeb/GitHub.jl

implement pause between mutations

Open
#232 0 comments 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.