eventq_rabbitmq 1.6.4 → 1.6.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 658400275d1c0a93428319469f074344fe632903
4
- data.tar.gz: e8e6ef5a99aaf7bf37179c7d8a6b1f08297477fa
3
+ metadata.gz: 5edc08684077e62de24f492c4594d4b5e511a329
4
+ data.tar.gz: 559105d371ecb32d9b6f4bc999bbfaf1e0021dd1
5
5
  SHA512:
6
- metadata.gz: 38fce62ce712383ede858a9b74615b46012023de86b8ae71227b0245a5e26457779d840045c2aa6b3a7749fff5d6099f7c539e739fc57797be55d68c521b5269
7
- data.tar.gz: a10f9e8ae71119183ec0026a1e251227643400295a23a8bc948b423727c86bafa44c1cf530b5e5f8c3cafd4d5fe4bcc9386380fa80b9765cd59473400a95e6e9
6
+ metadata.gz: 9b6cc10b5d21edd090a81501f7adf96d6ca0168a4584cf2429032fcf8bda1f958615e6e0a208788f7a8b230a8a53341b444a92bf3027d85fdecd78f21668b09a
7
+ data.tar.gz: dae08d60128fcfd10966f528a568fa05d0e454e9adca159c41f12252792fc50b9d7f03ec613e95b097216d5fe594165b27b9d854b8e4734fb79d21e9a1fd43c4
@@ -33,7 +33,6 @@ module EventQ
33
33
  if @fork_count > 1
34
34
  @fork_count.times do
35
35
  pid = fork do
36
- @is_running = true
37
36
  start_process(options, queue, block)
38
37
  end
39
38
  @forks.push(pid)
@@ -44,7 +43,6 @@ module EventQ
44
43
  end
45
44
 
46
45
  else
47
- @is_running = true
48
46
  start_process(options, queue, block)
49
47
  end
50
48
 
@@ -52,6 +50,8 @@ module EventQ
52
50
 
53
51
  def start_process(options, queue, block)
54
52
 
53
+ @is_running = true
54
+
55
55
  %w'INT TERM'.each do |sig|
56
56
  Signal.trap(sig) {
57
57
  stop
@@ -252,7 +252,7 @@ module EventQ
252
252
  @fork_count = options[:fork_count]
253
253
  end
254
254
 
255
- EventQ.log(:info, "[#{self.class}] - Configuring. Process Count: #{@fork_count} Thread Count: #{@thread_count} | Interval Sleep: #{@sleep}.")
255
+ EventQ.log(:info, "[#{self.class}] - Configuring. Process Count: #{@fork_count} | Thread Count: #{@thread_count} | Interval Sleep: #{@sleep}.")
256
256
 
257
257
  return true
258
258
 
@@ -1,3 +1,3 @@
1
1
  module EventqRabbitmq
2
- VERSION = "1.6.4"
2
+ VERSION = "1.6.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage