Преглед на файлове

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

Lisnichenko Dmitro преди 10 години
родител
ревизия
dcc3c7ed17
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java

+ 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