ionutzpi commented on code in PR #43:
URL:
https://github.com/apache/sling-org-apache-sling-event/pull/43#discussion_r2086267679
##########
src/main/java/org/apache/sling/event/impl/jobs/queues/JobQueueImpl.java:
##########
@@ -252,6 +252,10 @@ public Statistics getStatistics() {
* This method might be called concurrently, therefore we use a guard
*/
public void startJobs() {
+ if (!services.configuration.isJobProcessingEnabled()) {
+ logger.debug("Job processing is disabled, skipping job starts for
queue {}", queueName);
+ return;
+ }
Review Comment:
It should be call when notifyListener is called on binding component
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]