summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java')
-rw-r--r--dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java
index 717ef221..472f2578 100644
--- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java
+++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/App.java
@@ -165,24 +165,24 @@ public class App {
// Shared executor for SSL thrift and HTTP thrift
ExecutorService es = new GrowingThreadPoolExecutor(3, 128, 2, TimeUnit.MINUTES,
- new ArrayBlockingQueue<Runnable>(4), new PrioThreadFactory("Web/SSL"));
+ new ArrayBlockingQueue<Runnable>(4), new PrioThreadFactory("Web/Thrift"));
// Start Thrift Server
Thread t;
// Plain
- t = new Thread(new BinaryListener(9090, false, null), "T-Pln:9090");
+ t = new Thread(new BinaryListener(9090, false, es), "Thr-Plain:9090");
t.setDaemon(true);
t.start();
// SSL
- t = new Thread(new BinaryListener(9091, true, es), "T-SSL:9091");
+ t = new Thread(new BinaryListener(9091, true, es), "Thr-SSL:9091");
t.start();
// Start RPC httpd
- t = new Thread(new WebServer(9080), "Rhttpd:9080");
+ t = new Thread(new WebServer(9080), "RPC-httpd:9080");
t.setDaemon(true);
t.start();
// Start JSON-Thrift httpd
- t = new Thread(new JsonHttpListener(9081, es), "Thttpd:9081");
+ t = new Thread(new JsonHttpListener(9081, es), "Thr-httpd:9081");
t.setDaemon(true);
t.start();