Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Use varied command timeout length for different vcs commands #872

Closed
sdboyer opened this issue Jul 21, 2017 · 2 comments · Fixed by #879
Closed

Use varied command timeout length for different vcs commands #872

sdboyer opened this issue Jul 21, 2017 · 2 comments · Fixed by #879

Comments

@sdboyer
Copy link
Member

sdboyer commented Jul 21, 2017

We use a system of subprocess monitoring (basically, we watch stderr/stdout for updates) to determine if a command is making progress. Commands that aren't making progress are terminated if a configurable timeout is exceeded since the last visible progress was made.

However, we aren't taking advantage of that configurability. Currently, all command invocations of underlying vcs binaries use a 2 minute timeout. This is not great - there's no reason we should allow such long timeouts on some of our commands.

So, let's expand the runFromRepoDir() func to take a configurable argument, and make more granular decisions for the different commands. This won't really solve any of the hang issues people have been having on its own, but it at least may help us isolate which commands are giving us problems.

@erizocosmico
Copy link
Contributor

May I take this one? 😄

@sdboyer
Copy link
Member Author

sdboyer commented Jul 21, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants