]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13398 fail with 503 api/developers/search_events WS if needIssueSync is set...
authorJacek <jacek.poreda@sonarsource.com>
Tue, 9 Jun 2020 11:27:34 +0000 (13:27 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 26 Jun 2020 20:04:57 +0000 (20:04 +0000)
server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndexSyncProgressChecker.java

index 5c6aefe3a90bbd5dd4ba373c0299885b0f6e4ccd..0b0fbab5ed81048cca5d59c88cacd14d0224d77e 100644 (file)
@@ -50,6 +50,10 @@ public class IssueIndexSyncProgressChecker {
     }
   }
 
+  public void checkIfAnyComponentsNeedIssueSync(DbSession dbSession, List<String> componentKeys) {
+    checkIfAnyComponentsNeedIssueSync(dbSession, componentKeys, null, null);
+  }
+
   public void checkIfComponentNeedIssueSync(DbSession dbSession, String componentKey) {
     checkIfAnyComponentsNeedIssueSync(dbSession, Collections.singletonList(componentKey), null, null);
   }