[Performance] Don't invoke apply from indicator

Don't invoke apply while polling from ElasticSearch
indicator; let the corresponding  request trigger
this.
This commit is contained in:
Victor Woeltjen
2015-12-03 13:29:54 -08:00
parent 0f56fd2561
commit 3e7bc2f37f

View File

@ -80,7 +80,7 @@ define(
// Update the indicator initially, and start polling. // Update the indicator initially, and start polling.
updateIndicator(); updateIndicator();
$interval(updateIndicator, interval, false); $interval(updateIndicator, interval, 0, false);
} }
ElasticIndicator.prototype.getGlyph = function () { ElasticIndicator.prototype.getGlyph = function () {