consul-templaterb 1.9.3 → 1.9.4

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
  SHA256:
3
- metadata.gz: 5782528a3540e33076a9db4244d558f9e62d846b68f7aa57cb625dbc2cca7415
4
- data.tar.gz: c3d33c3bb5f760f1b0108807213e8d59aceca92cce6eccb67c32ff759010ece8
3
+ metadata.gz: a838b58bd969446e1469ebef427c75f274a20f2120286495c1749dc8ad01e9f3
4
+ data.tar.gz: 3c7f4961230c1f5c0496a3d4e6f7e0ace0e757c28ade29c0a88afaffc01709cc
5
5
  SHA512:
6
- metadata.gz: 02cb21ad2703bfd0a847181c4b4d0b5bd4a96503130e949db99498461dee4e1744e35b406a056ddcd2023eacc6aac3463e51b33685748a8733dd02fa57852efd
7
- data.tar.gz: 19015ff464cdeb7ee09b04471d78562b415b02878349c2d9c5bd96acac758276759efdff2132000558b96d3003ac473d29369c47090189fc29cf16178918e3d6
6
+ metadata.gz: 54363ba53cc8aee04b9fbccee5245e4b975837f1432feffca505ed41d25a7409e067cfb26f26ef4d98348b24fcc8e3110a84f56e8508de38ba81dcd35596c316
7
+ data.tar.gz: f2cf52f9f6d2d7529de619195a691ba61e55b9c28cbff923a785d128b5255c132d4789b91284b1f952d0d9a685341e786aef1178a14b3796c44e9d2a3bf5d4b3
@@ -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|
@@ -1,5 +1,5 @@
1
1
  module Consul
2
2
  module Async
3
- VERSION = '1.9.3'.freeze
3
+ VERSION = '1.9.4'.freeze
4
4
  end
5
5
  end
@@ -26,6 +26,7 @@
26
26
  overflow: hidden;
27
27
  white-space: nowrap;
28
28
  text-overflow: ellipsis;
29
+ cursor: help;
29
30
  }
30
31
  td.serviceName {
31
32
  max-width: 15%;
@@ -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 = 50000;
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.3
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-09 00:00:00.000000000 Z
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
- rubyforge_project:
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