Updated Branches:
  refs/heads/branch-1.2.5 cf22ef83e -> 3daf07045

AMBARI-2670. Start button not available for various components within 10 sec 
after stop operation finishes. (Antonenko Alexander via yusaku)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/3daf0704
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/3daf0704
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/3daf0704

Branch: refs/heads/branch-1.2.5
Commit: 3daf070458d12ba7cfb1b63178cecf5d45893b8e
Parents: cf22ef8
Author: Yusaku Sako <[email protected]>
Authored: Thu Jul 18 10:27:23 2013 -0700
Committer: Yusaku Sako <[email protected]>
Committed: Thu Jul 18 10:27:48 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/controllers/global/cluster_controller.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/3daf0704/ambari-web/app/controllers/global/cluster_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/cluster_controller.js 
b/ambari-web/app/controllers/global/cluster_controller.js
index 12b4d54..1055f68 100644
--- a/ambari-web/app/controllers/global/cluster_controller.js
+++ b/ambari-web/app/controllers/global/cluster_controller.js
@@ -241,7 +241,7 @@ App.ClusterController = Em.Controller.extend({
       callback();
       return false;
     }
-    
+
     var servicesUrl = this.getUrl('/data/dashboard/services.json', 
'/services?fields=ServiceInfo,components/host_components/HostRoles/desired_state,components/host_components/HostRoles/state');
 
     App.HttpClient.get(servicesUrl, App.statusMapper, {
@@ -267,7 +267,7 @@ App.ClusterController = Em.Controller.extend({
     if(!this.get('isWorking')){
       return false;
     }
-    App.updater.run(this, 'loadUpdatedStatus', 'isWorking'); //update will not 
run it immediately
+    App.updater.run(this, 'loadUpdatedStatus', 'isWorking', 
App.componentsUpdateInterval); //update will not run it immediately
     App.updater.run(this, 'loadAlerts', 'isWorking'); //update will not run it 
immediately
     return true;
   }.observes('isWorking'),

Reply via email to