eventq_rabbitmq 1.8.1 → 1.8.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 +3 -3
- 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: 100a393f027ee4371566dd32c1b6eacad4148885
|
4
|
+
data.tar.gz: 8d317afacfcc0c04423c6be46df18beb2bca6444
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6b4ee8815efdaae81af0f7dbf414c3bc6462d600aa85cae536ff73cf5005de2fc60b5778dd5ddc64a531718a7a435e098b326e9c2928032defe27124b844be2
|
7
|
+
data.tar.gz: c3599f05b8e7d6663ba8eaa6acfd83d2aa3c8e8a8b95416349118461498573eebc2d5bb9f101fbbfe3a6490241ee2a99c3872c8ccf5abe214a64779dbbbe4fbc
|
@@ -99,6 +99,8 @@ module EventQ
|
|
99
99
|
channel.close
|
100
100
|
end
|
101
101
|
|
102
|
+
GC.start
|
103
|
+
|
102
104
|
if !has_processed
|
103
105
|
EventQ.log(:debug, "[#{self.class}] - Sleeping for #{@sleep} seconds")
|
104
106
|
sleep(@sleep)
|
@@ -150,10 +152,8 @@ module EventQ
|
|
150
152
|
EventQ.log(:error, "[#{self.class}] - An error occurred attempting to pop a message from the queue. Error: #{e} | Backtrace: #{e.backtrace}")
|
151
153
|
end
|
152
154
|
|
153
|
-
GC.start
|
154
|
-
|
155
155
|
#check if any message was received
|
156
|
-
if !received
|
156
|
+
if !received
|
157
157
|
EventQ.log(:debug, "[#{self.class}] - No message received.")
|
158
158
|
return false
|
159
159
|
end
|
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.8.
|
4
|
+
version: 1.8.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-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|