You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2023/05/22 12:52:18 UTC

[tomcat] branch 10.1.x updated: Use consistent default naming for virtual threads

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

markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new a8e4e0e566 Use consistent default naming for virtual threads
a8e4e0e566 is described below

commit a8e4e0e566b23a5c7a976dbb211cb2dfce343a5a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon May 22 13:51:48 2023 +0100

    Use consistent default naming for virtual threads
---
 java/org/apache/tomcat/util/net/AbstractEndpoint.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/util/net/AbstractEndpoint.java b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
index 08253c12a8..6aa878788a 100644
--- a/java/org/apache/tomcat/util/net/AbstractEndpoint.java
+++ b/java/org/apache/tomcat/util/net/AbstractEndpoint.java
@@ -1035,7 +1035,7 @@ public abstract class AbstractEndpoint<S,U> {
     public void createExecutor() {
         internalExecutor = true;
         if (getUseVirtualThreads()) {
-            executor = new VirtualThreadExecutor(getName() + "-exec-");
+            executor = new VirtualThreadExecutor(getName() + "-virt-");
         } else {
             TaskQueue taskqueue = new TaskQueue();
             TaskThreadFactory tf = new TaskThreadFactory(getName() + "-exec-", daemon, getThreadPriority());


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org