Properly configure timeouts
This commit is contained in:
@@ -25,7 +25,7 @@ module Pipeline::Util
|
|||||||
|
|
||||||
def cmd
|
def cmd
|
||||||
if @timeout
|
if @timeout
|
||||||
"timeout --foreground -s 9 #{@timeout} #{cmd_string}"
|
"timeout --foreground -s 9 #{@timeout} -k #{@timeout} #{cmd_string}"
|
||||||
else
|
else
|
||||||
cmd_string
|
cmd_string
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user