Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Specify a default thread pool for quartz

  • Loading branch information...
commit 2824b3792a45006d862d469ba7e342db49257f6a 1 parent 62ae3ba
@adamretter adamretter authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/org/exist/scheduler/impl/QuartzSchedulerImpl.java
View
4 src/org/exist/scheduler/impl/QuartzSchedulerImpl.java
@@ -95,7 +95,7 @@ public QuartzSchedulerImpl(final BrokerPool brokerpool, final Configuration conf
defaultQuartzProperties.setProperty("org.quartz.scheduler.rmi.proxy", "false");
defaultQuartzProperties.setProperty("org.quartz.scheduler.wrapJobExecutionInUserTransaction", "false");
defaultQuartzProperties.setProperty("org.quartz.scheduler.skipUpdateCheck", "true");
- defaultQuartzProperties.setProperty("org.quartz.threadPool.class", "org.quartz.threadPool.class");
+ defaultQuartzProperties.setProperty("org.quartz.threadPool.class", "org.quartz.simpl.SimpleThreadPool");
defaultQuartzProperties.setProperty("org.quartz.threadPool.threadCount", "4");
defaultQuartzProperties.setProperty("org.quartz.threadPool.threadPriority", "5");
defaultQuartzProperties.setProperty("org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread", "true");
@@ -567,4 +567,4 @@ private void setupJobDataMap(final JobDescription job, final JobDataMap jobDataM
//Store the value of the unschedule setting
jobDataMap.put("unschedule", Boolean.valueOf(unschedule));
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.