task-orchestrator 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d429c26750c50b057de12c86cfa1f9a35d712103
4
- data.tar.gz: ecc803f3b40cb903e9093cafc70e236ebfb89cf2
3
+ metadata.gz: 31e77a9876bbf7b8c7a1d6d0f9b3bea39e8079b0
4
+ data.tar.gz: 4cf3fa7530cb5c62e01ba9be060e550bad3ba762
5
5
  SHA512:
6
- metadata.gz: f7358c4788335a26d19a4c2c39a8a61e20abfefd6c955a3c3d94306f2c9db521f72a30a736d07b1b0a94e1f8fc0265922b46d196697ad988acad503c92ceef00
7
- data.tar.gz: 91229f1333d4295043be212de1268c6b000acc458535d220a412f4f8f41cf65db034af13701834b4d09f8e8f0592f284869463bad221ca81392142a9448f1c70
6
+ metadata.gz: 9810a0dc3bd1681fc283003e9ec3ed914ef8a92256038da10c4b35841067d31b6940aecbfca53f9de3603af20c7ca3ec6b7ecb1f520de3e1101b5516f78a8fb2
7
+ data.tar.gz: 0b509bae6e070cb8615b0d610a7e063f73881a555738a82903d8898370a88935c930d76101a9a7a925e7cd085ab4fb4aba7ca21a893032b1a8d6a7c8de39842f
@@ -337,6 +337,7 @@ module Orchestrator
337
337
  status = 'TIMEOUT'
338
338
  if child
339
339
  begin
340
+ `/bin/ps --ppid #{child} -o pid=`.split(/\n/).each{|p| Process.kill("TERM", p)}
340
341
  Process.kill("TERM", child)
341
342
  result += "\nKILLED #{child}: #{command}\n"
342
343
  rescue Errno::ESRCH
@@ -1,3 +1,3 @@
1
1
  module Orchestrator
2
- VERSION ||= '0.0.25'
2
+ VERSION ||= '0.0.26'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: task-orchestrator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Piavlo