superbolt 0.3.4 → 0.3.5

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: 430ff61c71d24372f326a93f8e2816f5cb87ac7d
4
- data.tar.gz: 5559fcbec41bbc100a73605b104f06a8d0049209
3
+ metadata.gz: a855cc5c7f275eaded2255e896d67e2a765b7f06
4
+ data.tar.gz: 12e8c87da121d2b1d3e67261ec95950e8dcd6b69
5
5
  SHA512:
6
- metadata.gz: 5e53533e1ea0e40521b18a3401c249140fcf7e72c6f41063f850f1cb06c19e492838aadd669a7518fb12e831023c395347c287c475373ba4b3538cb7efe2e6ab
7
- data.tar.gz: 73412d0e309638d1cf8e16c79bb7ea70466e694d2ab669a80e211f45dca4ee78e1b2b82e5bae4e9bb7d948c6e8b5457f32320964244958f9b9f8df50250f4a89
6
+ metadata.gz: 2cdb3838b54af6621c62b9275b5729657068642257055109da51f639fbec89a50fe538fa414cbbd12402e2ff3a63d24aa2a9481bdd6bc249a4da79cea7860403
7
+ data.tar.gz: e3ef96919cc0c703107be66b2b1d8fac27a65730fe1ab060aeb1cb84b0350a338ef746e3a1a489586ddc9d0eaa991217f817865502167b8a1226c8e2b6cfc35d
data/lib/superbolt/app.rb CHANGED
@@ -41,7 +41,9 @@ module Superbolt
41
41
  def run(&block)
42
42
  EventMachine.run do
43
43
  # only get one message at a time for performance
44
+ # and tell it to auto reconnect, duh!
44
45
  queue.channel.prefetch(1)
46
+ queue.channel.auto_recovery = true
45
47
 
46
48
  queue.subscribe(ack: true) do |metadata, payload|
47
49
  message = IncomingMessage.new(metadata, payload, channel)
@@ -1,3 +1,3 @@
1
1
  module Superbolt
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - socialchorus
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-26 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport