Repository: ambari Updated Branches: refs/heads/trunk f55736f49 -> 212aa9b50
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/212aa9b5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/212aa9b5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/212aa9b5 Branch: refs/heads/trunk Commit: 212aa9b50797400718f6752c9c8ad6d4ca44ca24 Parents: 76cdfbf Author: aBabiichuk <[email protected]> Authored: Wed Feb 25 19:05:50 2015 +0200 Committer: aBabiichuk <[email protected]> Committed: Wed Feb 25 20:52:08 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/212aa9b5/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')); } },
