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 2021/04/30 19:07:53 UTC

[tinkerpop] branch travis-fix updated (b889867 -> d41e4c4)

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

spmallette pushed a change to branch travis-fix
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git.


 discard b889867  loggin
     add 32109d8  Ignored travis test that fails with test client
     new d41e4c4  Default threadPoolWorker to 2

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b889867)
            \
             N -- N -- N   refs/heads/travis-fix (d41e4c4)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../gremlin/driver/simple/AbstractClient.java        |  6 +-----
 .../apache/tinkerpop/gremlin/server/Settings.java    |  7 ++++---
 .../gremlin/server/GremlinServerIntegrateTest.java   | 20 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 8 deletions(-)

[tinkerpop] 01/01: Default threadPoolWorker to 2

Posted by sp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

spmallette pushed a commit to branch travis-fix
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git

commit d41e4c493a5d13765ae88e2df2582d0c27faea41
Author: Stephen Mallette <st...@amazon.com>
AuthorDate: Fri Apr 30 15:06:14 2021 -0400

    Default threadPoolWorker to 2
    
    Given that this is also the general scheduled executorservice 2 seems like the right number for this. tasks scheduled here should be all non-blocking. CTR
---
 .../main/java/org/apache/tinkerpop/gremlin/server/Settings.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/Settings.java b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/Settings.java
index 149372f..f3bc273 100644
--- a/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/Settings.java
+++ b/gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/Settings.java
@@ -83,10 +83,11 @@ public class Settings {
     public int port = 8182;
 
     /**
-     * Size of the worker thread pool.   Defaults to 1 and should generally not exceed 2 * number of cores. A
-     * worker thread performs non-blocking read and write for one or more Channels in a non-blocking mode.
+     * Size of the worker thread pool.   Defaults to 2 and should generally not exceed 2 * number of cores. A
+     * worker thread performs non-blocking read and write for one or more Channels in a non-blocking mode and other
+     * non-blocking tasks that may occur on a schedule..
      */
-    public int threadPoolWorker = 1;
+    public int threadPoolWorker = 2;
 
     /**
      * detect if the OS is linux, then use epoll instead of NIO which causes less GC