Try to avoid hitting secondary rate limit when opening issues
GitHub employs a secondary rate limit for actions that can trigger notifications, such as opening a new issue. To avoid hitting this limit, they recommend [1] waiting at least one second between each request. This commit attempts to comply with this guidance by adding a one-second sleep prior to each POST request that opens an issue. Closes gh-29879 [1] https://docs.github.com/en/rest/guides/best-practices-for-integrators#dealing-with-secondary-rate-limitspull/29932/head
parent
21fb273ec3
commit
4cb8ae6c8a
Loading…
Reference in New Issue