oni 4.2.2 → 4.2.3

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
  SHA256:
3
- metadata.gz: d23d90e32e433203a63413d211532265e4ff02e550298d324521f77cc3295ef7
4
- data.tar.gz: 04f1e134b4d31efd0d79191ba37c9c8d63a33ea056edffc4cfbafffaa0268375
3
+ metadata.gz: 430375f85e0f8d617f53487863c6a4752680fd1d8b5a67cc78529d757e5b5389
4
+ data.tar.gz: c26f8f5b3457c28145c3e689b6490026dd073b9ea4a5acea06ab9f198d405397
5
5
  SHA512:
6
- metadata.gz: 7b50421bc3a740682a3d0889c8dcf0ddc616bdf1dac8b1e32d9aeef7c4469c156785bd995d071b5457750f0b9b98f4b27b927b043113b45c1f998816865a782a
7
- data.tar.gz: 9076cf44c34dd26a2377631fb42daae148b7d0507970a1ec8b7921052f101dcc4b8119c4c474a6f2bb2c16cf8962ff2d1b08cf0ced05b8bfbfe35bb76f6a57ef
6
+ metadata.gz: 38ef45f00263093e39de7f38051ad170c48f9578907230d2c1ddd98542bc9c1bc012322e17317e9ceac32ea5d07be8e7ffbabc3f6a62cb9d5f995f6f1ca8449e
7
+ data.tar.gz: 6799c07046351f56671e1863677e626021dc724196b94404b42f6dc7e8df64c3784ff77a864f7af7b2f2951ed7432e8dedee1a60a9a7fd4c9308ec14c728a7eb
data/lib/oni/daemon.rb CHANGED
@@ -59,13 +59,16 @@ module Oni
59
59
  return run_thread if threads <= 1
60
60
  return spawn_worker if workers <= 1
61
61
 
62
- Array.new workers do |i|
62
+ threads = Array.new workers do |i|
63
63
  Thread.new do
64
64
  Process.wait fork{ spawn_worker i+1 } while true
65
65
  end
66
- end.each(&:join)
66
+ end
67
67
 
68
+ sleep 3
68
69
  after_start if respond_to? :after_start
70
+
71
+ threads.each(&:join)
69
72
  rescue => error
70
73
  error(error)
71
74
  end
data/lib/oni/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Oni
2
- VERSION = '4.2.2'
2
+ VERSION = '4.2.3'
3
3
  end # Oni
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oni
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2
4
+ version: 4.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yorick Peterse