thrift-amqp 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thrift/amqp/server.rb +1 -1
- data/lib/thrift/amqp/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: 739571ac316a2ea6a42e722c07ab1c92b15cc78e
|
4
|
+
data.tar.gz: 89da4b627f84e931f01383121d421b0ff9cc15ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86f8fc963e65311408c01b4af7026cb3165222159556cdc1b1a94cc00ac22b0a5fcb8bde0285042b0bf6577955f9f80f6d63f20457a80ae162de1aade22e3b37
|
7
|
+
data.tar.gz: a436660a17509242cbccd79481f39b876f67254e1694f8226c0c1276e51bfcc5250e0174bf9ba63528742a8db2327db3fc33855394aed152ce9280dc0e201e8a
|
data/lib/thrift/amqp/server.rb
CHANGED
@@ -50,7 +50,7 @@ module Thrift
|
|
50
50
|
@conn = Bunny.new(@amqp_uri, continuation_timeout: @timeout * 1000)
|
51
51
|
|
52
52
|
@conn.start
|
53
|
-
@channel = @conn.create_channel
|
53
|
+
@channel = @conn.create_channel(nil, @prefetch == 0 ? 1 : @prefetch)
|
54
54
|
|
55
55
|
exchange = @channel.direct(@exchange_name)
|
56
56
|
queue = @channel.queue(@queue_name)
|
data/lib/thrift/amqp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thrift-amqp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexis Montagne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|