consul-templaterb 1.30.0 → 1.31.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/consul/async/consul_endpoint.rb +2 -1
- data/lib/consul/async/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0929b48d32c3a556bff69053efcb0f239ee7cc18b39907c71ae1309bebeabbb
|
4
|
+
data.tar.gz: f6a8130e754621e9603a11cbbbc0963c67ef043b5578c35944ed6a26f9e59d3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 643d665507cd9a633dffdc741f4d643a55a0c4acaefc7feb08396f95383f491dd8d1917f3264b49a04cc67d258efa8dee58a7bc50d7fe74b440fbad74877c36b
|
7
|
+
data.tar.gz: dfe3a05334f0d65216b5973ea9f5716c983ce6d428751243991d8708781d9b95ff19404fba886f83df711563b2c46a3850a06f391b7a26c2ec82a7987df046fa
|
data/CHANGELOG.md
CHANGED
@@ -297,11 +297,12 @@ module Consul
|
|
297
297
|
end
|
298
298
|
new_content = http_result.response.freeze
|
299
299
|
modified = @last_result.fake? || @last_result.data != new_content
|
300
|
-
if n_consul_index
|
300
|
+
if n_consul_index.nil?
|
301
301
|
retry_in = modified ? conf.missing_index_retry_time_on_diff : conf.missing_index_retry_time_on_unchanged
|
302
302
|
n_consul_index = consul_index
|
303
303
|
else
|
304
304
|
retry_in = modified ? conf.min_duration : conf.retry_on_non_diff
|
305
|
+
retry_in = 0.1 if retry_in < (Time.now - @last_result.last_update)
|
305
306
|
end
|
306
307
|
retry_in = _compute_retry_in(retry_in)
|
307
308
|
retry_in = 0.1 if retry_in < 0.1
|
data/lib/consul/async/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consul-templaterb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SRE Core Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-http-request
|