feat: 优化线程池配置并更新依赖版本
All checks were successful
Publish Project / build (push) Successful in 3m17s

- 将 item-nbt-api 从 2.15.1 更新至 2.15.3
- 将 adventure-platform-bukkit 从 4.3.2 更新至 4.4.1
- 将 adventure-text-minimessage 从 4.15.0 更新至 4.25.0
- 升级项目版本号从 1.4.2 至 1.4.3
- 在各模块配置文件中新增线程池大小配置项
- 根据配置动态设置普通任务和定时任务线程池大小
- 默认线程池大小分别为 10 和 5,并支持自定义配置
This commit is contained in:
2025-12-13 22:26:47 +08:00
parent 0b8614fec9
commit 141e2f62e0
6 changed files with 36 additions and 6 deletions

View File

@@ -1,3 +1,11 @@
# 普通任务执行线程池大小
# 建议设置为玩家数 / 5但不小于 10
executor-thread-pool-size: 10
# 定时任务执行线程池大小
# 建议设置为玩家数 / 10但不小于 5
scheduler-thread-pool-size: 5
# 是否启用 redis 连接池功能
enable-redis: false