Skip to content
Browse files

Merge pull request #308 from adamretter/develop

Specify a default thread pool for quartz
  • Loading branch information...
2 parents 925d0bc + 2824b37 commit 56a22e73f95df206918377ce94a87afce59271fe @dizzzz dizzzz committed Aug 22, 2014
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));
}
-}
+}

0 comments on commit 56a22e7

Please sign in to comment.
Something went wrong with that request. Please try again.