mssh 0.0.9 → 0.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/mcmd.rb +1 -1
- metadata +4 -4
data/lib/mcmd.rb
CHANGED
@@ -144,7 +144,7 @@ class MultipleCmd
|
|
144
144
|
def process_timeouts
|
145
145
|
now = Time.now.to_i
|
146
146
|
@subproc_by_pid.values.each do |p|
|
147
|
-
if (now - p.time_start) > self.perchild_timeout
|
147
|
+
if ((now - p.time_start) > self.perchild_timeout) and self.perchild_timeout > 0
|
148
148
|
# expire this child process
|
149
149
|
|
150
150
|
self.yield_proc_timeout.call(p) unless self.yield_proc_timeout.nil?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mssh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 10
|
10
|
+
version: 0.0.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Evan Miller
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-10-18 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: json
|