You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/05/07 21:55:32 UTC

incubator-tinkerpop git commit: Better optimal defaults for the Profiler.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 97f4ed2df -> 11a364cf5


Better optimal defaults for the Profiler.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/11a364cf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/11a364cf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/11a364cf

Branch: refs/heads/master
Commit: 11a364cf5c9456a6765353d2ceb0dbe3b6737a23
Parents: 97f4ed2
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu May 7 15:55:10 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu May 7 15:55:10 2015 -0400

----------------------------------------------------------------------
 .../tinkerpop/gremlin/driver/util/ProfilingApplication.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/11a364cf/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
----------------------------------------------------------------------
diff --git a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
index 1066cb7..d4d75be 100644
--- a/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
+++ b/gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/util/ProfilingApplication.java
@@ -142,9 +142,9 @@ public class ProfilingApplication {
             final int maxConnectionPoolSize = Integer.parseInt(options.getOrDefault("maxConnectionPoolSize", "256").toString());
             final int minSimultaneousUsagePerConnection = Integer.parseInt(options.getOrDefault("minSimultaneousUsagePerConnection", "8").toString());
             final int maxSimultaneousUsagePerConnection = Integer.parseInt(options.getOrDefault("maxSimultaneousUsagePerConnection", "32").toString());
-            final int maxInProcessPerConnection = Integer.parseInt(options.getOrDefault("maxInProcessPerConnection", "8").toString());
-            final int minInProcessPerConnection = Integer.parseInt(options.getOrDefault("minInProcessPerConnection", "1").toString());
-            final int workerPoolSize = Integer.parseInt(options.getOrDefault("workerPoolSize", "4").toString());
+            final int maxInProcessPerConnection = Integer.parseInt(options.getOrDefault("maxInProcessPerConnection", "64").toString());
+            final int minInProcessPerConnection = Integer.parseInt(options.getOrDefault("minInProcessPerConnection", "16").toString());
+            final int workerPoolSize = Integer.parseInt(options.getOrDefault("workerPoolSize", "16").toString());
 
             final Cluster cluster = Cluster.build(host)
                     .minConnectionPoolSize(minConnectionPoolSize)