perf: 重写部分代码
This commit is contained in:
@@ -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);
|
||||
|
||||
|
@@ -4,7 +4,7 @@ debug: false
|
||||
ball-server:
|
||||
host: "ball.hamster3.cn"
|
||||
port: 58888
|
||||
nio-thread: 2
|
||||
event-loop-thread: 2
|
||||
|
||||
server-info:
|
||||
# 服务器唯一识别码,最长 32 字符
|
||||
|
Reference in New Issue
Block a user