فهرست منبع

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

Yusaku Sako 12 سال پیش
والد
کامیت
2f16174c3b
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      ambari-web/app/controllers/global/cluster_controller.js

+ 2 - 2
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'),