eventq_rabbitmq 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eventq_rabbitmq/rabbitmq_queue_worker.rb +1 -14
- data/lib/eventq_rabbitmq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 767412c5971d855ad34af83d3869bdda01341820
|
4
|
+
data.tar.gz: 2acd837a7604a2f9907b7012b14bed7230106cc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8caf745fedbd311374be05da9c3bdce42e2ffb4db92425b2e56d0fd8c48cbc7044c864c5b9983de2ee8a549609868db3cdc1901b98117df8641af36abb0e7f
|
7
|
+
data.tar.gz: e97fd1b27a3c0e4c916b91e49d1533f1863d1ecd3252b9e59cd0d981cd818ca9b1bbe1dfeae45c1b6ca52c173ccd5352ba25d0cfc4405afca1edadb524c815ec
|
@@ -2,8 +2,6 @@ module EventQ
|
|
2
2
|
module RabbitMq
|
3
3
|
class QueueWorker
|
4
4
|
|
5
|
-
PROFILE_MEMORY = 'PROFILE_MEMORY'.freeze
|
6
|
-
|
7
5
|
attr_accessor :is_running
|
8
6
|
|
9
7
|
def initialize
|
@@ -80,18 +78,7 @@ module EventQ
|
|
80
78
|
break
|
81
79
|
end
|
82
80
|
|
83
|
-
|
84
|
-
require 'memory_profiler'
|
85
|
-
|
86
|
-
report = MemoryProfiler.report do
|
87
|
-
thread_process_iteration(connection, manager, queue, block)
|
88
|
-
end
|
89
|
-
|
90
|
-
EventQ.log(:debug, report.pretty_print.to_s)
|
91
|
-
|
92
|
-
else
|
93
|
-
thread_process_iteration(connection, manager, queue, block)
|
94
|
-
end
|
81
|
+
thread_process_iteration(connection, manager, queue, block)
|
95
82
|
|
96
83
|
end
|
97
84
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventq_rabbitmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaughanbrittonsage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|