Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revive CI #34

Merged
merged 27 commits into from
Sep 2, 2024
Prev Previous commit
Next Next commit
revive ci
  • Loading branch information
Greg Lindahl committed Sep 1, 2024
commit 245c9aceb8e338c1ab8f4a213ece1d30db2d7951
2 changes: 1 addition & 1 deletion cdx_toolkit/myrequests.py
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ def myrequests_get(url, params=None, headers=None, cdx=False, allow404=False):
while retry:
try:
LOGGER.debug('getting %s %r', url, params)
time.sleep(3)
time.sleep(0.7)
resp = requests.get(url, params=params, headers=headers,
timeout=(30., 30.), allow_redirects=False)
if cdx and resp.status_code in {400, 404}: