MirrorUP-v0.6.4.mcdr
版本
0.6.4
日期
2026年11月14日
大小
90.07 KiB
下载量
3
MD5
5249ba1f565265732ebf7848597bbb9fSHA256
dce49b79312a97179005893a7ba99ca5dc88cc92895d8898993915af551dcaf2依赖
MCDR 插件依赖
| 插件 ID | 依赖版本 |
|---|---|
| mcdreforged | >=2.12.0 |
Python 包依赖
| Python 包 | 依赖版本 |
|---|---|
| xxhash |
Python 包安装指令
pip install xxhash更新日志
修复
- 跨机同步速度:此前每个文件都新建一条 TCP 连接,下载完还要再发一次
/v1/stat复核,几万个小文件时光是握手就要几个小时。现在每个线程复用一条 keep-alive 连接,连接被对端关掉时自动换新重试。 sync.concurrency默认从 4 提到 8(跨机高延迟链路可以调到 16)。- 新增
source.agent.verify_copy(默认true):设为false时不再对每个文件发复核请求,省掉一半往返;代价是文件在传输途中被改写时可能要到下一轮才发现。
Fix
- Cross-machine throughput: every file used to open a new TCP connection, plus a second
/v1/statrequest to verify the download — tens of thousands of small files spent hours in handshakes. Each worker thread now reuses one keep-alive connection and reconnects transparently when the peer closes it. sync.concurrencydefaults to 8 (raise to 16 on high-latency links).- New
source.agent.verify_copy(defaulttrue): set it tofalseto skip the per-file verification round trip.