Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prefer to SIGTERM git instead of killing it outright.
On slaves that support it, send the SIGTERM command first & then SIGKILL after 30 seconds. On slaves that don't support it, just try to SIGTERM. This solves the problem where interrupting a git step (or it timing out) can leave stale lockfiles around. Resolves http://trac.buildbot.net/ticket/3269
- Loading branch information
Vitali Lovich
committed
Jul 28, 2015
1 parent
83e66ff
commit 49ca9cd
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters