]> source.dussan.org Git - sonarqube.git/commitdiff
Fix missing db commit in ProjectCleaner
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Sun, 11 Jan 2015 21:57:59 +0000 (22:57 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Sun, 11 Jan 2015 21:57:59 +0000 (22:57 +0100)
server/sonar-server/src/main/java/org/sonar/core/computation/dbcleaner/ProjectCleaner.java

index 64e876e20b5afa3b1c999535c66e0bdf36e8544b..dbeb19e65ff5aacec53c7c61ecb7c06b4bfbb1ae 100644 (file)
@@ -71,6 +71,7 @@ public class ProjectCleaner implements ServerComponent {
 
     deleteIndexedIssuesBefore(idUuidPair.getUuid(), configuration.maxLiveDateOfClosedIssues());
 
+    session.commit();
     logProfiling(start, settings);
     return this;
   }