aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2013-02-11 17:58:56 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2013-02-11 18:00:25 +0100
commit8c2acfef07959a8e718246cc7ed0c4a79967b139 (patch)
tree0caa10ff0e81cedd76418de1f52042d24bd7d029 /sonar-server
parentaf5b5a9f2e10349c3190f744adfea9c4cd6e8308 (diff)
downloadsonarqube-8c2acfef07959a8e718246cc7ed0c4a79967b139.tar.gz
sonarqube-8c2acfef07959a8e718246cc7ed0c4a79967b139.zip
SONAR-4053 Automatically release semaphores when outdated
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/java/org/sonar/server/platform/Platform.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
index 6d1a852c9a6..fee24b7f1eb 100644
--- a/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
+++ b/sonar-server/src/main/java/org/sonar/server/platform/Platform.java
@@ -52,6 +52,7 @@ import org.sonar.core.persistence.DatabaseVersion;
import org.sonar.core.persistence.DefaultDatabase;
import org.sonar.core.persistence.DryRunDatabaseFactory;
import org.sonar.core.persistence.MyBatis;
+import org.sonar.core.persistence.SemaphoreUpdater;
import org.sonar.core.persistence.SemaphoresImpl;
import org.sonar.core.qualitymodel.DefaultModelFinder;
import org.sonar.core.resource.DefaultResourcePermissions;
@@ -188,6 +189,7 @@ public final class Platform {
rootContainer.addSingleton(RuleI18nManager.class);
rootContainer.addSingleton(GwtI18n.class);
rootContainer.addSingleton(DryRunDatabaseFactory.class);
+ rootContainer.addSingleton(SemaphoreUpdater.class);
rootContainer.addSingleton(SemaphoresImpl.class);
rootContainer.startComponents();
}