make git remote update time out after 60 seconds #8

Open
wants to merge 1 commit into
from

Projects

None yet

2 participants

@tv42
tv42 commented Aug 9, 2012

We've used /usr/bin/timeout for a while for this, to make the gitbuilder not hang even when Github goes for a coffee break, but I just realized you already include maxtime so this is doable without external dependencies, so I'm submitting this pull request now.

(Now, whether that should be 60 seconds or something else is debatable. And should it be configurable? But the need is definitely there.)

@liewegas liewegas make git remote update time out after 60 seconds
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Tommi Virtanen <tv@inktank.com>
75ff647
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment