ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmitriu...@apache.org
Subject ambari git commit: AMBARI-10959. Reduce time between ActionScheduler wakeups (dlysnichenko)
Date Wed, 06 May 2015 17:13:28 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.0.maint 85217fa60 -> 990af9d26


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


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

Branch: refs/heads/branch-2.0.maint
Commit: 990af9d26f3804205479fd78f180ba1291b42a1c
Parents: 85217fa
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Wed May 6 17:08:29 2015 +0300
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Wed May 6 20:12:21 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ambari/server/controller/ControllerModule.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/990af9d2/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
index 8afa0bb..8061c43 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
@@ -292,7 +292,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


Mime
View raw message