incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1197290 - /sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
Date Thu, 03 Nov 2011 19:46:08 GMT
Author: fmeschbe
Date: Thu Nov  3 19:46:07 2011
New Revision: 1197290

URL: http://svn.apache.org/viewvc?rev=1197290&view=rev
Log:
SLING-2261 Ensure the system property "org.terracotta.quartz.skipUpdateCheck" is set to true
before creating the scheduler to prevent unneeded update check

Modified:
    sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java

Modified: sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java?rev=1197290&r1=1197289&r2=1197290&view=diff
==============================================================================
--- sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
(original)
+++ sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
Thu Nov  3 19:46:07 2011
@@ -163,6 +163,10 @@ public class QuartzScheduler implements 
      * @throws SchedulerException
      */
     protected org.quartz.Scheduler init(final String poolName) throws SchedulerException
{
+
+        // SLING-2261 Prevent Quartz from checking for updates
+        System.setProperty("org.terracotta.quartz.skipUpdateCheck", Boolean.TRUE.toString());
+
         final ThreadPoolManager tpm = this.threadPoolManager;
         // sanity null check
         if ( tpm == null ) {



Mime
View raw message