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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96c30cb1ae498d1150a5117aa1e64c05dd5570ad
4
- data.tar.gz: 26ce2d3f2bac930f75222036615dd0fecf2ed6bc
3
+ metadata.gz: 100a393f027ee4371566dd32c1b6eacad4148885
4
+ data.tar.gz: 8d317afacfcc0c04423c6be46df18beb2bca6444
5
5
  SHA512:
6
- metadata.gz: 86c1d737de716bb6a2ab5bd2fd97d098c97df2fa17f8c5c137248d21efd33173055bbdc36b0c1cf798e16186b3a677e5e33922757efbb9aab5c69de124ca64c1
7
- data.tar.gz: 145c03a98b3cbac3804c3102002c0248ccc5bc2a6b9940af71bc760b41327627b4ff41672d6c55bec7e4b7aa4cb3593fa6ee8ccaf92fdbafd38ec12be2fe1f4a
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 && !error
156
+ if !received
157
157
  EventQ.log(:debug, "[#{self.class}] - No message received.")
158
158
  return false
159
159
  end
@@ -1,3 +1,3 @@
1
1
  module EventqRabbitmq
2
- VERSION = "1.8.1"
2
+ VERSION = "1.8.2"
3
3
  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.1
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-15 00:00:00.000000000 Z
11
+ date: 2016-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler