Repository navigation
Conversation
wode490390
approved these changes
Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
将延迟诊断与发送队列优化改为两个默认关闭的启动配置:
network-latency-trace-enabled控制限时 CSV 追踪,network-event-driven控制入队唤醒。不开启时继续走原 sleep 轮询和发送逻辑;开启后在空队列或通道背压时等待,入队或恢复可写时唤醒。依赖 https://github.com/EaseCation/Network/pull/42,由宿主 Nukkit 打包对应 Network;远端 Nemisys 可独立开启或关闭优化。配置启动读取,修改后重启。基于最新 origin/master(6f8574c),保留其中的协议更新。
验证:Java 25 根组合构建及 56 项测试通过,其中 SynapseAPI 44 项;新增覆盖关闭时原发送行为、开启时背压恢复/FIFO/线程退出及 trace 开关前后协议字节一致性。真实服务端四种开关组合均完成鉴权并保持心跳,MCS 客户端验收汇总于 CodeFunCore 集成 PR https://github.com/EaseCation/CodeFunCore/pull/612。已对比上游并通过 diff --check。未修改 Nukkit 主线程调度或击退逻辑,尚未部署或进行生产规模负载验收。