From 12b98bf1ef3358416802db50464e2d6395166e6f Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Tue, 1 Apr 2025 11:45:43 +0200 Subject: [PATCH] removed the throttle of pygithub to make requests faster --- pull_requests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pull_requests.py b/pull_requests.py index 819abd6..b9d90fd 100644 --- a/pull_requests.py +++ b/pull_requests.py @@ -490,7 +490,8 @@ if __name__ == "__main__": requests_cache.install_cache('github_cache', expire_after=timedelta(weeks=2)) - g = Github(os.environ["GITHUB_AUTH_TOKEN_CRAB"]) + g = Github(os.environ["GITHUB_AUTH_TOKEN_CRAB"], seconds_between_requests=0) + docker_client = docker.from_env() move_github_logging_to_file()