You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by jo...@apache.org on 2026/01/11 13:01:34 UTC

(sling-org-apache-sling-event) 01/01: SLING-13051 remove redundant notification

This is an automated email from the ASF dual-hosted git repository.

joerghoh pushed a commit to branch SLING-13051
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-event.git

commit e2ddb8352a7565ced0a6cf1849ba0e558df98d3b
Author: Joerg Hoh <jo...@apache.org>
AuthorDate: Sun Jan 11 14:01:14 2026 +0100

    SLING-13051 remove redundant notification
---
 .../apache/sling/event/impl/jobs/config/JobManagerConfiguration.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/event/impl/jobs/config/JobManagerConfiguration.java b/src/main/java/org/apache/sling/event/impl/jobs/config/JobManagerConfiguration.java
index 1cba173..bd4def2 100644
--- a/src/main/java/org/apache/sling/event/impl/jobs/config/JobManagerConfiguration.java
+++ b/src/main/java/org/apache/sling/event/impl/jobs/config/JobManagerConfiguration.java
@@ -248,9 +248,7 @@ public class JobManagerConfiguration {
         if (this.jobProcessingEnabledCondition == condition) {
             this.jobProcessingEnabledCondition = null;
             logger.info("Job processing readiness condition has been removed - jobs will not be processed");
-            // Signal jobs to stop before notifying listeners
             stopProcessing();
-            notifyListeners();
         }
     }