banter 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cebf2b048a1f14cd5b896d921a9802744ddb991c
4
- data.tar.gz: 721d76e0451ad9890d2f96e1c12b2ab34e3357a1
3
+ metadata.gz: 4502cffd372062c6f50d1c7ce6e083ec11ba9ce6
4
+ data.tar.gz: 950e44227d9ecc62262d5ea4a8e693e8bcf07b94
5
5
  SHA512:
6
- metadata.gz: a34d1cabedddd26176a16415364b28e2f779605b63c1ae8aeb778601045af70e9d03cb2edc63339e8bc956d7ec6251894d82877fe1c99a7536f88835e4fed222
7
- data.tar.gz: b3d4f284e093951d471a5f50fcc3cc3ef20a975e894b1c40f524aa2df1ea101b41df8e52119cfb8452d33086bb892fe4591a86f9c9e663da33139994aff90f52
6
+ metadata.gz: 920ae2ac8d44e9f87fb3d9eb97c972e67cdca29bec2317575d1f048bc08f010ff5985026ccbe3a373d85a495bce0cd206d017407aa8bc9db1664fdc830a56b86
7
+ data.tar.gz: 54a4e211d6d99707f22bfba87553b901620509a3c19431b8740e9c32acf288451aeeffbb2057ef1958220a7dc9b1583eb0f3e733a8deff7ad898d7e6434dab43
@@ -41,7 +41,7 @@ module Banter
41
41
  queue_arguments["x-dead-letter-exchange"] = Configuration.dead_letter_queue if Configuration.dead_letter_queue.present?
42
42
  queue_arguments["x-message-ttl"] = ttl * 1000
43
43
 
44
- @channel.basic_qos(@pool_size)
44
+ @channel.basic_qos(@pool_size) if @pool_size != 0
45
45
 
46
46
  rabbit_queue = @channel.queue(@queue_name, durable: @durable, exclusive: false, arguments: queue_arguments)
47
47
  @listener = rabbit_queue.bind(@exchange, routing_key: @routing_key, exclusive: false)
@@ -1,3 +1,3 @@
1
1
  module Banter
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: banter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Honest Company