Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 27AA217DB7 for ; Wed, 6 May 2015 17:13:29 +0000 (UTC) Received: (qmail 4094 invoked by uid 500); 6 May 2015 17:13:29 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 4032 invoked by uid 500); 6 May 2015 17:13:29 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 4023 invoked by uid 99); 6 May 2015 17:13:29 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 17:13:29 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EB456E0385; Wed, 6 May 2015 17:13:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: dmitriusan@apache.org To: commits@ambari.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-10959. Reduce time between ActionScheduler wakeups (dlysnichenko) Date: Wed, 6 May 2015 17:13:28 +0000 (UTC) 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 Authored: Wed May 6 17:08:29 2015 +0300 Committer: Lisnichenko Dmitro 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