ionutzpi commented on code in PR #43: URL: https://github.com/apache/sling-org-apache-sling-event/pull/43#discussion_r2081781291
########## src/main/java/org/apache/sling/event/impl/jobs/queues/QueueManager.java: ########## @@ -191,6 +193,11 @@ protected void deactivate() { * @see java.lang.Runnable#run() */ void maintain() { + // Skip maintenance if job manager is disabled + if (!this.configuration.isEnable()) { + logger.debug("JobManager is disabled, skipping maintenance"); + return; + } Review Comment: Moved condition check to JobQueueImpl.maintain. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org