dyoder-hive 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/hive/scheduler.rb +1 -1
- metadata +2 -2
data/lib/hive/scheduler.rb
CHANGED
@@ -8,7 +8,7 @@ module Hive
|
|
8
8
|
def stop_tasks
|
9
9
|
threads = Thread.list.select { |t| t.alive? && t != Thread.current }
|
10
10
|
until threads.empty?
|
11
|
-
logger.info "#{threads.
|
11
|
+
logger.info "#{threads.size} threads still running ... "
|
12
12
|
threads.each { |t| t.kill && t != Thread.current }
|
13
13
|
threads = threads.select { |t| t.alive? }
|
14
14
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dyoder-hive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Yoder
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-06-
|
12
|
+
date: 2009-06-06 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|