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 +4 -4
- data/lib/superbolt/app.rb +2 -0
- data/lib/superbolt/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: a855cc5c7f275eaded2255e896d67e2a765b7f06
|
4
|
+
data.tar.gz: 12e8c87da121d2b1d3e67261ec95950e8dcd6b69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
data/lib/superbolt/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2014-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|