SomeFire commented on a change in pull request #14: Performance
URL: https://github.com/apache/ignite-teamcity-bot/pull/14#discussion_r218863424
 
 

 ##########
 File path: 
ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/issue/IssueDetector.java
 ##########
 @@ -386,15 +386,17 @@ private void checkFailures() {
     private void checkFailuresEx() {
         int buildsToQry = 
EventTemplates.templates.stream().mapToInt(EventTemplate::cntEvents).max().getAsInt();
 
+        ExecutorService executor = MoreExecutors.newDirectExecutorService();
+
         
GetTrackedBranchTestResults.getTrackedBranchTestFailures(FullQueryParams.DEFAULT_BRANCH_NAME,
-            false, buildsToQry, backgroundOpsTcHelper, backgroundOpsCreds);
+            false, buildsToQry, backgroundOpsTcHelper, backgroundOpsCreds, 
executor);
 
         TestFailuresSummary failures =
             
GetTrackedBranchTestResults.getTrackedBranchTestFailures(FullQueryParams.DEFAULT_BRANCH_NAME,
                 false,
                 1,
                 backgroundOpsTcHelper,
-                backgroundOpsCreds);
+                backgroundOpsCreds, executor);
 
 Review comment:
   Move executor to a new line.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to