这是indexloc提供的服务,不要输入任何密码
Skip to content

Add timeout to requested JSON #920

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

Merged
merged 2 commits into from
Jul 22, 2025
Merged

Add timeout to requested JSON #920

merged 2 commits into from
Jul 22, 2025

Conversation

arichiv
Copy link
Member

@arichiv arichiv commented Jul 22, 2025

We're using requests.get(...) with a 10 second timeout elsewhere, but at this one spot we were using urllib with no timeout. Let's fix that for consistency and resolve this hanging code.

Closes #857

We're using requests.get(...) with a 10 second timeout elsewhere, but at this one spot we were using urllib with no timeout. Let's fix that for consistency and resolve this hanging code.

Closes #857
@arichiv arichiv self-assigned this Jul 22, 2025
@arichiv arichiv requested a review from cfredric July 22, 2025 15:22
Co-authored-by: Chris Fredrickson <cfredric@users.noreply.github.com>
Copy link

The RWS JSON was successfully validated!

THIS PR CONTAINS SYSTEM CHANGES PLEASE REVIEW WITH CARE!

@arichiv arichiv merged commit 5d35fd4 into main Jul 22, 2025
8 checks passed
@arichiv arichiv deleted the fix-timeout branch July 22, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop blocking on failing fetches
2 participants