Skip to content

Add timeouts to fetchers#13925

Closed
scheibelp wants to merge 2 commits intospack:developfrom
scheibelp:bugfix/mirror-timeouts
Closed

Add timeouts to fetchers#13925
scheibelp wants to merge 2 commits intospack:developfrom
scheibelp:bugfix/mirror-timeouts

Conversation

@scheibelp
Copy link
Copy Markdown
Member

@scheibelp scheibelp commented Nov 28, 2019

This adds a timeout to fetching of resources in Spack. This assumes that any resource can be retrieved in a fixed amount of time (currently 10 minutes). The timeout is currently added only for git/URL resources (but could easily be added for any).

This is intended to address #13604, and to work as a catch-all for all issues which for one reason or another permanently stall fetching a resource. This could include:

  • A download which never terminates
  • A git clone which requires interaction (which will never occur when mirroring all packages)

Overall, this will only work well if timeouts are rare (since a large timeout is required to accommodate large downloads).

@alalazo
Copy link
Copy Markdown
Member

alalazo commented Feb 20, 2023

@scheibelp I'm going through old PRs and closing the ones that seem stale / outdated. Feel free to reopen if you disagree with me closing this.

@alalazo alalazo closed this Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants