Repository: ambari Updated Branches: refs/heads/branch-2.0.0 0f4686249 -> ee3712471
AMBARI-9800 400-node cluster: Hosts page stuck in loading state. (ababiichuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ee371247 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ee371247 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ee371247 Branch: refs/heads/branch-2.0.0 Commit: ee3712471b6c7c724e230230e237bcddeccf2117 Parents: ac7c0bb Author: aBabiichuk <[email protected]> Authored: Wed Feb 25 19:05:50 2015 +0200 Committer: aBabiichuk <[email protected]> Committed: Wed Feb 25 20:53:04 2015 +0200 ---------------------------------------------------------------------- ambari-web/app/controllers/main/host.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/ee371247/ambari-web/app/controllers/main/host.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/main/host.js b/ambari-web/app/controllers/main/host.js index 2ea463b..58ac9ba 100644 --- a/ambari-web/app/controllers/main/host.js +++ b/ambari-web/app/controllers/main/host.js @@ -293,12 +293,13 @@ App.MainHostController = Em.ArrayController.extend(App.TableServerMixin, { sender: this, data: {}, success: 'updateStatusCountersSuccessCallback', - error: 'updateStatusCountersErrorCallback' + error: 'updateStatusCountersErrorCallback', + callback: function() { + setTimeout(function () { + self.updateStatusCounters(); + }, App.get('hostStatusCountersUpdateInterval')); + } }); - - setTimeout(function () { - self.updateStatusCounters(); - }, App.get('hostStatusCountersUpdateInterval')); } },
