This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git


The following commit(s) were added to refs/heads/master by this push:
     new 155b63b  Scheduled jobs exceptions are catched and logged.
155b63b is described below

commit 155b63bf17b0813a826f263a0c6a2b73cac470f3
Author: Dmitriy Pavlov <[email protected]>
AuthorDate: Wed Sep 12 15:54:36 2018 +0300

    Scheduled jobs exceptions are catched and logged.
---
 .../src/main/java/org/apache/ignite/ci/issue/IssueDetector.java        | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/issue/IssueDetector.java
 
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/issue/IssueDetector.java
index 1db7f49..56ca643 100644
--- 
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/issue/IssueDetector.java
+++ 
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/issue/IssueDetector.java
@@ -348,7 +348,7 @@ public class IssueDetector {
 
                 executorService = Executors.newScheduledThreadPool(1);
 
-                executorService.scheduleWithFixedDelay(this::checkFailures, 0, 
15, TimeUnit.MINUTES);
+                executorService.scheduleAtFixedRate(this::checkFailures, 0, 
15, TimeUnit.MINUTES);
 
                 if 
(Boolean.valueOf(System.getProperty(CheckQueueJob.AUTO_TRIGGERING_BUILD_DISABLED)))
                     logger.info("Automatic build triggering was disabled.");
@@ -364,7 +364,6 @@ public class IssueDetector {
 
             throw e;
         }
-        // SchedulerFuture<?> future = 
ignite.scheduler().scheduleLocal(this::checkFailures, "? * * * * *");
     }
 
     /**

Reply via email to