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 +4 -4
- data/lib/eventq_rabbitmq/rabbitmq_queue_worker.rb +3 -3
- data/lib/eventq_rabbitmq/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5edc08684077e62de24f492c4594d4b5e511a329
|
|
4
|
+
data.tar.gz: 559105d371ecb32d9b6f4bc999bbfaf1e0021dd1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|