consul-templaterb 1.9.3 → 1.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/consul/async/consul_endpoint.rb +1 -1
- data/lib/consul/async/version.rb +1 -1
- data/samples/consul-ui/css/style.css +1 -0
- data/samples/consul-ui/js/timeline.js +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a838b58bd969446e1469ebef427c75f274a20f2120286495c1749dc8ad01e9f3
|
4
|
+
data.tar.gz: 3c7f4961230c1f5c0496a3d4e6f7e0ace0e757c28ade29c0a88afaffc01709cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54363ba53cc8aee04b9fbccee5245e4b975837f1432feffca505ed41d25a7409e067cfb26f26ef4d98348b24fcc8e3110a84f56e8508de38ba81dcd35596c316
|
7
|
+
data.tar.gz: f2cf52f9f6d2d7529de619195a691ba61e55b9c28cbff923a785d128b5255c132d4789b91284b1f952d0d9a685341e786aef1178a14b3796c44e9d2a3bf5d4b3
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,17 @@
|
|
2
2
|
|
3
3
|
## (UNRELEASED)
|
4
4
|
|
5
|
+
## 1.9.4 (January 11, 2019)
|
6
|
+
|
7
|
+
OPTIMIZATIONS:
|
8
|
+
|
9
|
+
* inactivity_timeout now includes Consul Jitter for services not changing much
|
10
|
+
(less than every 10 minutes)
|
11
|
+
|
12
|
+
IMPROVEMENTS:
|
13
|
+
|
14
|
+
* Minor UX improvements in consul-timeline
|
15
|
+
|
5
16
|
## 1.9.3 (January 9, 2019)
|
6
17
|
|
7
18
|
IMPROVEMENTS:
|
@@ -204,7 +204,7 @@ module Consul
|
|
204
204
|
def fetch
|
205
205
|
options = {
|
206
206
|
connect_timeout: 5, # default connection setup timeout
|
207
|
-
inactivity_timeout: conf.wait_duration + 1, # default connection inactivity (post-setup) timeout
|
207
|
+
inactivity_timeout: conf.wait_duration + 1 + (conf.wait_duration / 16), # default connection inactivity (post-setup) timeout
|
208
208
|
}
|
209
209
|
connection = EventMachine::HttpRequest.new(conf.base_url, options)
|
210
210
|
cb = proc do |consul_index|
|
data/lib/consul/async/version.rb
CHANGED
@@ -76,7 +76,7 @@ class ServiceTimeline {
|
|
76
76
|
if (this.data.length > data.length) {
|
77
77
|
var diff = this.data.length - data.length;
|
78
78
|
var firstNewItem = indexOfTimelineEvent(data[0]);
|
79
|
-
var maxItemsInMemory =
|
79
|
+
var maxItemsInMemory = 100000;
|
80
80
|
if (maxItemsInMemory > data.length) {
|
81
81
|
console.log("Looking for matches with ", firstNewItem);
|
82
82
|
for (var i = 0 ; i < this.data.length; i++){
|
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.9.
|
4
|
+
version: 1.9.4
|
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: 2019-01-
|
11
|
+
date: 2019-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: em-http-request
|
@@ -232,8 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: '0'
|
234
234
|
requirements: []
|
235
|
-
|
236
|
-
rubygems_version: 2.7.7
|
235
|
+
rubygems_version: 3.0.2
|
237
236
|
signing_key:
|
238
237
|
specification_version: 4
|
239
238
|
summary: Implementation of Consul template using Ruby and .erb templating language
|