You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2019/05/06 08:18:12 UTC

[syncope] branch master updated: [SYNCOPE-1468] Fix default value + allow for configuration

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

ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/master by this push:
     new bb82239  [SYNCOPE-1468] Fix default value + allow for configuration
bb82239 is described below

commit bb822392ad6e62ce02061d41cd3452059972b88d
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Mon May 6 10:18:00 2019 +0200

    [SYNCOPE-1468] Fix default value + allow for configuration
---
 .../org/apache/syncope/core/provisioning/java/ProvisioningContext.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/ProvisioningContext.java b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/ProvisioningContext.java
index e695f5b..8b14cd9 100644
--- a/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/ProvisioningContext.java
+++ b/core/provisioning-java/src/main/java/org/apache/syncope/core/provisioning/java/ProvisioningContext.java
@@ -165,7 +165,8 @@ public class ProvisioningContext implements EnvironmentAware, SchedulingConfigur
         Properties quartzProperties = new Properties();
         quartzProperties.setProperty(
                 "org.quartz.scheduler.idleWaitTime", env.getProperty("quartz.scheduler.idleWaitTime", "30000"));
-        quartzProperties.setProperty("org.quartz.jobStore.misfireThreshold", "6000000");
+        quartzProperties.setProperty(
+                "org.quartz.jobStore.misfireThreshold", env.getProperty("quartz.misfireThreshold", "60000"));
         quartzProperties.setProperty("org.quartz.jobStore.driverDelegateClass", env.getProperty("quartz.jobstore"));
         quartzProperties.setProperty("org.quartz.jobStore.isClustered", "true");
         quartzProperties.setProperty("org.quartz.jobStore.clusterCheckinInterval", "20000");