From d9c16b8a87584551fda16d44f734fe2dfa11b6b5 Mon Sep 17 00:00:00 2001 From: Charles Care Date: Wed, 27 Nov 2019 11:45:42 +0000 Subject: [PATCH] Properly configure timeouts --- lib/pipeline/util/external_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pipeline/util/external_command.rb b/lib/pipeline/util/external_command.rb index 246f623..2538305 100644 --- a/lib/pipeline/util/external_command.rb +++ b/lib/pipeline/util/external_command.rb @@ -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