Skip to content

Commit b89775d

Browse files
committed
fix threadpool
1 parent b4d0d2b commit b89775d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/dev/zenith/web/WebServer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public synchronized boolean isRunning() {
4444

4545
private Javalin createServer() {
4646
return Javalin.create(config -> {
47-
var threadPool = new ExecutorThreadPool(2);
47+
var threadPool = new ExecutorThreadPool();
4848
threadPool.setDaemon(true);
4949
threadPool.setName("ZenithProxy-WebAPI-%d");
5050
config.jetty.threadPool = threadPool;

0 commit comments

Comments
 (0)