diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2020-06-09 13:27:34 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-06-26 20:04:57 +0000 |
commit | 6189563306e48b3ae939228f5262a6218af67551 (patch) | |
tree | 2faece288131e2c89ee494294d74a47dff7dc0f3 /server/sonar-webserver-es | |
parent | b2074b590f50da1503c0b2582b958481f4b057cc (diff) | |
download | sonarqube-6189563306e48b3ae939228f5262a6218af67551.tar.gz sonarqube-6189563306e48b3ae939228f5262a6218af67551.zip |
SONAR-13398 fail with 503 api/developers/search_events WS if needIssueSync is set to true
Diffstat (limited to 'server/sonar-webserver-es')
-rw-r--r-- | server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndexSyncProgressChecker.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndexSyncProgressChecker.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndexSyncProgressChecker.java index 5c6aefe3a90..0b0fbab5ed8 100644 --- a/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndexSyncProgressChecker.java +++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndexSyncProgressChecker.java @@ -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); } |