mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
Don't clear alert grid and top tag popover data if watchdog shows an alert
This prevents grid flaps, watchdog error will be shown above all alerts, not instead of
This commit is contained in:
@@ -23,13 +23,11 @@ var Watchdog = (function() {
|
||||
|
||||
var now = moment().utc().unix();
|
||||
if (now - lastTs > maxLag) {
|
||||
Grid.Clear();
|
||||
$('#errors').html(haml.compileHaml('fatal-error')({
|
||||
last_ts: lastTs,
|
||||
seconds_left: fatalCountdown
|
||||
}));
|
||||
Counter.Unknown();
|
||||
Summary.Reset();
|
||||
if (!inCountdown) {
|
||||
fatalCountdown = 60;
|
||||
fatalReloadTimer = setTimeout(function() {
|
||||
|
||||
Reference in New Issue
Block a user