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 timeout to vcsLister.List() #1986

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

taylorychen
Copy link
Contributor

What is the problem I am trying to address?

vcsLister.List() can take several minutes to execute for certain modules

How is the fix applied?

Add a timeout field to vcsLister that can be used when calling vcsLister.List(). The timeout is set by ATHENS_TIMEOUT

What GitHub issue(s) does this PR fix or close?

Fixes #1884

@taylorychen taylorychen requested a review from a team as a code owner September 19, 2024 23:10
Copy link
Contributor

@nrwiersma nrwiersma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nrwiersma nrwiersma merged commit 3856c6f into gomods:main Sep 20, 2024
11 checks passed
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.

Enforce timeout on vcsLister.List()
2 participants