tmaret commented on a change in pull request #54:
URL: 
https://github.com/apache/sling-org-apache-sling-distribution-core/pull/54#discussion_r691989929



##########
File path: 
src/main/java/org/apache/sling/distribution/serialization/impl/vlt/VaultDistributionPackageBuilderFactory.java
##########
@@ -295,6 +295,7 @@ public void activate(BundleContext context, Map<String, 
Object> config) {
             Dictionary<String, Object> props = new Hashtable<String, Object>();
             props.put(Scheduler.PROPERTY_SCHEDULER_CONCURRENT, false);
             props.put(Scheduler.PROPERTY_SCHEDULER_PERIOD, cleanupDelay);
+            props.put(Scheduler.PROPERTY_SCHEDULER_RUN_ON, 
Scheduler.VALUE_RUN_ON_LEADER);

Review comment:
       SINGLE works as well, we don't have to run this on the leader. Updated.




-- 
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]


Reply via email to