Skip to content

Commit

Permalink
Reduce krakenFailThreshold to 5 minutes (bnc#903007)
Browse files Browse the repository at this point in the history
This means if the cluster loses quorum, it will take only 5 minutes for
the "cluster updates are stale" warning to appear, rather than 15
minutes (see ceph/calamari-clients#75 for
discussion).

Signed-off-by: Tim Serong <[email protected]>
(cherry picked from commit 40dfe5b87d795dc620e226c6ad9272839073d11d)
  • Loading branch information
tserong committed Jun 25, 2015
1 parent 5a68996 commit d57b8f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard/app/scripts/views/alerts-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ define(['jquery', 'underscore', 'backbone', 'templates', 'l20nCtx!locales/{{loca
growlTemplate: JST['app/scripts/templates/growl.ejs'],
throttleMs: 10000,
throttleCount: 3,
krakenFailThreshold: 1000 * 60 * 15,
krakenFailThreshold: 1000 * 60 * 5,
timeoutCount: 0,
initialize: function() {
this.App = Backbone.Marionette.getOption(this, 'App');
Expand All @@ -41,7 +41,7 @@ define(['jquery', 'underscore', 'backbone', 'templates', 'l20nCtx!locales/{{loca
},
// **heartBeat**
// Kraken HeartBeat Check. Compare the last cluster update time stamp against the current
// time and report an error if they have diverged more than 15 minutes. This can
// time and report an error if they have diverged more than 5 minutes. This can
// indicate loss of communication.
heartBeat: function(model) {
if (model) {
Expand Down

0 comments on commit d57b8f7

Please sign in to comment.