浏览代码

AMBARI-10959. Reduce time between ActionScheduler wakeups (dlysnichenko)

Lisnichenko Dmitro 10 年之前
父节点
当前提交
dcc3c7ed17

+ 1 - 1
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java

@@ -303,7 +303,7 @@ public class ControllerModule extends AbstractModule {
     bind(Clusters.class).to(ClustersImpl.class);
     bind(AmbariCustomCommandExecutionHelper.class);
     bind(ActionDBAccessor.class).to(ActionDBAccessorImpl.class);
-    bindConstant().annotatedWith(Names.named("schedulerSleeptime")).to(10000L);
+    bindConstant().annotatedWith(Names.named("schedulerSleeptime")).to(1000L);
 
     // This time is added to summary timeout time of all tasks in stage
     // So it's an "additional time", given to stage to finish execution before