[ 
https://issues.apache.org/jira/browse/SLING-5485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15150315#comment-15150315
 ] 

Stefan Egli commented on SLING-5485:
------------------------------------

[~olli], I'd do the {{issueHeartbeat()}} you added here:
{noformat}     @Activate
     protected void activate(ComponentContext context) {
        synchronized(lock) {
@@ -128,6 +106,7 @@
                slingId = getSlingSettingsService().getSlingId();
                NAME = "discovery.connectors.common.runner." + slingId;
 
+            issueHeartbeat();
                doActivate();
                activated = true;
        }
{noformat} *after* the {{doActivate(); activated=true;}} - so that the 
heartbeat is issued with {{activated==true}}

> Remove Launchpad API dependency from Discovery Base
> ---------------------------------------------------
>
>                 Key: SLING-5485
>                 URL: https://issues.apache.org/jira/browse/SLING-5485
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Discovery Base 1.1.2
>            Reporter: Oliver Lietz
>         Attachments: SLING-5485.patch
>
>
> see SLING-2968 and [discussion on 
> dev@|http://mail-archives.apache.org/mod_mbox/sling-dev/201512.mbox/%3c56614f80.9040...@apache.org%3e]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to