Permalink
Browse files

Release 1.9.4

OPTIMIZATIONS:

 * inactivity_timeout now includes Consul Jitter for services not changing much
   (less than every 10 minutes)

IMPROVEMENTS:

 * Minor UX improvements in consul-timeline
  • Loading branch information...
pierresouchay committed Jan 11, 2019
1 parent 6d78d03 commit 5a5d5cffb55959d128a666a195eef86901a3544c
Showing with 14 additions and 3 deletions.
  1. +11 −0 CHANGELOG.md
  2. +1 −1 lib/consul/async/consul_endpoint.rb
  3. +1 −1 lib/consul/async/version.rb
  4. +1 −1 samples/consul-ui/js/timeline.js
@@ -2,6 +2,17 @@

## (UNRELEASED)

## 1.9.4 (January 11, 2019)

OPTIMIZATIONS:

* inactivity_timeout now includes Consul Jitter for services not changing much
(less than every 10 minutes)

IMPROVEMENTS:

* Minor UX improvements in consul-timeline

## 1.9.3 (January 9, 2019)

IMPROVEMENTS:
@@ -204,7 +204,7 @@ def _handle_error(http, consul_index)
def fetch
options = {
connect_timeout: 5, # default connection setup timeout
inactivity_timeout: conf.wait_duration + 1, # default connection inactivity (post-setup) timeout
inactivity_timeout: conf.wait_duration + 1 + (conf.wait_duration / 16), # default connection inactivity (post-setup) timeout
}
connection = EventMachine::HttpRequest.new(conf.base_url, options)
cb = proc do |consul_index|
@@ -1,5 +1,5 @@
module Consul
module Async
VERSION = '1.9.3'.freeze
VERSION = '1.9.4'.freeze
end
end
@@ -76,7 +76,7 @@ class ServiceTimeline {
if (this.data.length > data.length) {
var diff = this.data.length - data.length;
var firstNewItem = indexOfTimelineEvent(data[0]);
var maxItemsInMemory = 50000;
var maxItemsInMemory = 100000;
if (maxItemsInMemory > data.length) {
console.log("Looking for matches with ", firstNewItem);
for (var i = 0 ; i < this.data.length; i++){

0 comments on commit 5a5d5cf

Please sign in to comment.