perf: 重写部分代码

This commit is contained in:
2023-05-31 00:58:08 +08:00
parent 8e19103334
commit 5851272688
20 changed files with 205 additions and 120 deletions

View File

@@ -42,7 +42,7 @@ public class BallBukkitAPI extends BallAPI {
),
pluginConfig.getString("ball-server.host", "ball.hamster3.cn"),
pluginConfig.getInt("ball-server.port", 58888),
pluginConfig.getInt("ball-server.nio-thread", 10)
pluginConfig.getInt("ball-server.event-loop-thread", 2)
);
instance = new BallBukkitAPI(config);

View File

@@ -4,7 +4,7 @@ debug: false
ball-server:
host: "ball.hamster3.cn"
port: 58888
nio-thread: 2
event-loop-thread: 2
server-info:
# 服务器唯一识别码,最长 32 字符