From 8c2acfef07959a8e718246cc7ed0c4a79967b139 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 11 Feb 2013 17:58:56 +0100 Subject: SONAR-4053 Automatically release semaphores when outdated --- sonar-server/src/main/java/org/sonar/server/platform/Platform.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sonar-server') 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(); } -- cgit v1.2.3