beetle 3.3.9 → 3.3.10

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
  SHA256:
3
- metadata.gz: 95e3ab98a559390c7f20bb68ae99e8636c82df9a66fff22413c73459d9ff6332
4
- data.tar.gz: dd0e5868943f6b2cdb9d73037851da75b380171487a0f5cb29328a8e44aaec40
3
+ metadata.gz: 64ab9d9173f45b670f0daa0297cf5df54335452df87813a1404dd6508115332b
4
+ data.tar.gz: 640e13316b247168fa96e5b5bf138ffd0b2c430defc0778d9b87d0ca4a2a9af3
5
5
  SHA512:
6
- metadata.gz: cbec6f5dcf9bdd429442cea86190bed2960038d31241781b5a748586a76038e060654bd91c0f559b3f17ee57e41b97017859549c3c11523df76ccfddde3d022b
7
- data.tar.gz: '091e597c4b84ec2bf72d14ae1875ee6e44d39770b82968c803cc4029c26d252aa24eb53f88c4893ef0f98acb496ea2c691a5bcb4f829ac1ae174228e705da852'
6
+ metadata.gz: 3da413178c33e889be536a73ebe69b5155af9f6ba054a9349616c4d07c741b791810d6ca37e931c88c90b874f0e8034fcd797210ff8b4abda85ce96945c828de
7
+ data.tar.gz: 1178a3e403b9d390a52e854f0c48f6afa3c5970eee2798d4628b4280fd02402ed3c3a913b8cb136a908f078befe775715dbee4efa36108155dfd382914f2c1b0
@@ -1,5 +1,8 @@
1
1
  = Release Notes
2
2
 
3
+ == Version 3.3.10
4
+ * Support configuring RabbitMQ write timeout.
5
+
3
6
  == Version 3.3.9
4
7
  * Reduce the number of queue policies created on the servers by allowing
5
8
  the spefication of a default broker policy. You need to install the
@@ -107,8 +107,10 @@ module Beetle
107
107
  # Whether to update quueue policies synchronously or asynchronously.
108
108
  attr_accessor :update_queue_properties_synchronously
109
109
 
110
- # Read timeout for http requests to create dead letter bindings
110
+ # Read timeout for http requests to RabbitMQ HTTP API
111
111
  attr_accessor :rabbitmq_api_read_timeout
112
+ # Write timeout for http requests to RabbitMQ HTTP API
113
+ attr_accessor :rabbitmq_api_write_timeout
112
114
 
113
115
  # Returns the port on which the Rabbit API is hosted
114
116
  attr_accessor :api_port
@@ -178,6 +180,7 @@ module Beetle
178
180
  self.dead_lettering_enabled = false
179
181
  self.dead_lettering_msg_ttl = 1000 # 1 second
180
182
  self.rabbitmq_api_read_timeout = 60 # 60 seconds
183
+ self.rabbitmq_api_write_timeout = 60 # 60 seconds
181
184
 
182
185
  self.lazy_queues_enabled = false
183
186
  self.throttling_refresh_interval = 60 # seconds
@@ -164,6 +164,7 @@ module Beetle
164
164
  end
165
165
  http = Net::HTTP.new(uri.hostname, config.api_port)
166
166
  http.read_timeout = config.rabbitmq_api_read_timeout
167
+ http.write_timeout = config.rabbitmq_api_write_timeout
167
168
  # don't do this in production:
168
169
  # http.set_debug_output(logger.instance_eval{ @logdev.dev })
169
170
  http.start do |instance|
@@ -1,3 +1,3 @@
1
1
  module Beetle
2
- VERSION = "3.3.9"
2
+ VERSION = "3.3.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beetle
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.9
4
+ version: 3.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes