You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cs...@apache.org on 2020/01/13 12:22:13 UTC
[sling-org-apache-sling-distribution-journal] branch master
updated: GRANITE-28520 - Make sure we announce the correct service
interfaces
This is an automated email from the ASF dual-hosted git repository.
cschneider pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git
The following commit(s) were added to refs/heads/master by this push:
new be33d04 GRANITE-28520 - Make sure we announce the correct service interfaces
be33d04 is described below
commit be33d04392a3efab3ca9aed0853df3a43a9aec7c
Author: Christian Schneider <cs...@adobe.com>
AuthorDate: Mon Jan 13 13:18:07 2020 +0100
GRANITE-28520 - Make sure we announce the correct service interfaces
---
.../sling/distribution/journal/impl/subscriber/SubscriberIdle.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/SubscriberIdle.java b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/SubscriberIdle.java
index 7dac19c..3bf5745 100644
--- a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/SubscriberIdle.java
+++ b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/SubscriberIdle.java
@@ -35,7 +35,7 @@ import org.osgi.service.component.annotations.Component;
* A DistributionSubscriber is considered ready only when it is idle for more than
* the READY_IDLE_TIME_SECONDS at least once.
*/
-@Component
+@Component(service = {SubscriberIdle.class, SystemReadyCheck.class})
public class SubscriberIdle implements SystemReadyCheck, Closeable {
private static final int DEFAULT_IDLE_TIME_MILLIS = 10000;