You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2018/02/05 06:52:56 UTC

[karaf] branch karaf-4.0.x updated: [KARAF-5588] Increase number of threads in the quartz scheduler

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

jbonofre pushed a commit to branch karaf-4.0.x
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/karaf-4.0.x by this push:
     new cb7cdcf  [KARAF-5588] Increase number of threads in the quartz scheduler
cb7cdcf is described below

commit cb7cdcf69ec59b0428f02d8ec0cae73104d56a10
Author: Jean-Baptiste Onofré <jb...@apache.org>
AuthorDate: Mon Feb 5 07:52:39 2018 +0100

    [KARAF-5588] Increase number of threads in the quartz scheduler
---
 scheduler/src/main/java/org/apache/karaf/scheduler/core/Activator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scheduler/src/main/java/org/apache/karaf/scheduler/core/Activator.java b/scheduler/src/main/java/org/apache/karaf/scheduler/core/Activator.java
index f3ef634..7208950 100644
--- a/scheduler/src/main/java/org/apache/karaf/scheduler/core/Activator.java
+++ b/scheduler/src/main/java/org/apache/karaf/scheduler/core/Activator.java
@@ -32,7 +32,7 @@ public class Activator extends BaseActivator {
 
     @Override
     protected void doStart() throws Exception {
-        threadPool = new SimpleThreadPool(4, Thread.NORM_PRIORITY);
+        threadPool = new SimpleThreadPool(30, Thread.NORM_PRIORITY);
         scheduler = new QuartzScheduler(threadPool);
         whiteboardHandler = new WhiteboardHandler(bundleContext, scheduler);
         register(Scheduler.class, scheduler);

-- 
To stop receiving notification emails like this one, please contact
jbonofre@apache.org.