activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject activemq git commit: https://issues.apache.org/jira/browse/AMQ-6126
Date Thu, 21 Apr 2016 17:15:37 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 102599ee2 -> 3e7847aea


https://issues.apache.org/jira/browse/AMQ-6126

Ensure the constructors pass along the default value as read from system
property if set. 

Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/3e7847ae
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/3e7847ae
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/3e7847ae

Branch: refs/heads/master
Commit: 3e7847aeada26bf147ca297e79995d43e74fc97d
Parents: 102599e
Author: Timothy Bish <tabish121@gmail.com>
Authored: Thu Apr 21 13:15:20 2016 -0400
Committer: Timothy Bish <tabish121@gmail.com>
Committed: Thu Apr 21 13:15:20 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/thread/TaskRunnerFactory.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/3e7847ae/activemq-client/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
----------------------------------------------------------------------
diff --git a/activemq-client/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
b/activemq-client/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
index 6cdb09e..ab49375 100755
--- a/activemq-client/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
+++ b/activemq-client/src/main/java/org/apache/activemq/thread/TaskRunnerFactory.java
@@ -64,11 +64,11 @@ public class TaskRunnerFactory implements Executor {
     }
 
     private TaskRunnerFactory(String name, int priority, boolean daemon, int maxIterationsPerRun)
{
-        this(name,priority,daemon,maxIterationsPerRun,false);
+        this(name, priority, daemon, maxIterationsPerRun, false);
     }
 
     public TaskRunnerFactory(String name, int priority, boolean daemon, int maxIterationsPerRun,
boolean dedicatedTaskRunner) {
-        this(name, priority, daemon, maxIterationsPerRun, dedicatedTaskRunner, Integer.MAX_VALUE);
+        this(name, priority, daemon, maxIterationsPerRun, dedicatedTaskRunner, getDefaultMaximumPoolSize());
     }
 
     public TaskRunnerFactory(String name, int priority, boolean daemon, int maxIterationsPerRun,
boolean dedicatedTaskRunner, int maxThreadPoolSize) {


Mime
View raw message