Scarab commit: svn commit: r10319 - branches/release/b21/src/conf/classes/quartz.properties
| Newsgroups | gmane.comp.java.scarab.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ronvoe122 Date: 2006-11-02 09:42:06-0800 New Revision: 10319 Added: branches/release/b21/src/conf/classes/quartz.properties Log: Added configuration file for the Quartz-scheduler, to reduce the number of Quartz-worker-threads to 1 (from a default value of 10). The worker-threads are executing the configured Quartz-jobs. Right now the only Quartz-job in Scarab is the NotificationManager, which is only executed periodically every view minutes. So there is never more than one Job running in parallel. Added: branches/release/b21/src/conf/classes/quartz.properties Url: http://scarab.tigris.org/source/browse/scarab/branches/release/b21/src/conf/classes/quartz.properties?view=auto&rev=10319 ============================================================================== --- (empty file) +++ branches/release/b21/src/conf/classes/quartz.properties 2006-11-02 09:42:06-0800 @@ -0,0 +1,17 @@ +# This is basically a copy of the default configuration of Quartz 1.5.0 +# The only difference is the threadCount which is 1 and by default would be 10. +# Increase it, if more than one Job has to be executed in parallel. + +org.quartz.scheduler.instanceName = DefaultQuartzScheduler +org.quartz.scheduler.rmi.export = false +org.quartz.scheduler.rmi.proxy = false +org.quartz.scheduler.wrapJobExecutionInUserTransaction = false + +org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool +org.quartz.threadPool.threadCount = 1 +org.quartz.threadPool.threadPriority = 5 +org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true + +org.quartz.jobStore.misfireThreshold = 60000 + +org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore