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

Add resiliance to timeouts when trying to fetch remote resources #72

Open
Lyalpha opened this issue May 18, 2023 · 0 comments
Open

Add resiliance to timeouts when trying to fetch remote resources #72

Lyalpha opened this issue May 18, 2023 · 0 comments
Labels
-event_handler Issues/PRs related to the event handler -events_GW Issues/PRs related to gravitational wave events -sentinel Issues/PRs related to the sentinel alert listener bug Issues detailing a bug or error within the software

Comments

@Lyalpha
Copy link
Contributor

Lyalpha commented May 18, 2023

The default timeout for astropy's download_file is only 10 seconds. Seemingly the servers can be overloaded now in O4 as everyone tries to do the same thing and if this times out the sentinel fails to process a notice and does not retry.

Increasing timeout is probably needed at a minimum, but some retry logic with a backoff would also be useful.

@martinjohndyer martinjohndyer added bug Issues detailing a bug or error within the software -events_GW Issues/PRs related to gravitational wave events -event_handler Issues/PRs related to the event handler -sentinel Issues/PRs related to the sentinel alert listener labels Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-event_handler Issues/PRs related to the event handler -events_GW Issues/PRs related to gravitational wave events -sentinel Issues/PRs related to the sentinel alert listener bug Issues detailing a bug or error within the software
Projects
None yet
Development

No branches or pull requests

2 participants