Properly configure timeouts

This commit is contained in:
Charles Care
2019-11-27 11:45:42 +00:00
parent bf51fdbb4c
commit d9c16b8a87

View File

@@ -25,7 +25,7 @@ module Pipeline::Util
def cmd
if @timeout
"timeout --foreground -s 9 #{@timeout} #{cmd_string}"
"timeout --foreground -s 9 #{@timeout} -k #{@timeout} #{cmd_string}"
else
cmd_string
end