bump the min remaining requests a bit

with that many jobs we are hitting the rate limit too often
This commit is contained in:
Christoph Reiter 2021-07-13 05:32:28 +02:00 committed by GitHub
parent 37d15cdc42
commit 5eb08f94cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1309,7 +1309,7 @@ def get_repo(readonly: bool = True) -> Repository:
def wait_for_api_limit_reset(
min_remaining: int = 50, min_sleep: float = 60, max_sleep: float = 300) -> None:
min_remaining: int = 100, min_sleep: float = 60, max_sleep: float = 300) -> None:
for readonly in [True, False]:
gh = get_github(readonly=readonly)