From aeb43e37f4683f5e74e1191f1ff2d415351baeab Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 06 May 2021 07:29:04 +0000
Subject: [PATCH] Server umgestellt auf CachedThreadPool

---
 src/de/uhilger/tango/Server.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/tango/Server.java b/src/de/uhilger/tango/Server.java
index 7c47baf..3421d47 100644
--- a/src/de/uhilger/tango/Server.java
+++ b/src/de/uhilger/tango/Server.java
@@ -120,7 +120,8 @@
     server.createContext(ctx + App.getRs(RB_GSTRG), new GeraetSteuerung());
     server.createContext(ctx + App.getRs(RB_ALIST), new ListHandler());
     server.createContext(ctx + App.getRs(RB_STOP_SERVER), new StopServerHandler());
-    server.setExecutor(Executors.newFixedThreadPool(20));
+    //server.setExecutor(Executors.newFixedThreadPool(20));
+    server.setExecutor(Executors.newCachedThreadPool());
     server.start();
   }
   

--
Gitblit v1.9.3