文件
JGZYES bb61090522 fix: bound registry http_get timeout so a flaky mirror falls back fast
The default mirror sz.pmm.parlz.com is intermittent (sometimes 404, sometimes
slow/hangs), and http_get used --max-time 60, so 'self-update'/'install' blocked
up to 60s before falling back to the healthy main mirror. Reduce to
--max-time 15 --connect-timeout 8 so a bad mirror fails over quickly.

Also bump site/version to 0.5.1 (the 0.5.0 install segfault is from an older
build; upgrading + this fallback removes the stall).
2026-09-05 20:14:20 +08:00

571 B

PMM v0.5.1

修复

  • self-update / install 卡在镜像源:默认优先级镜像 sz.pmm.parlz.com 间歇性抖动(有时 404、有时 慢/挂起),而 http_get 默认 --max-time 60,遇到挂起会阻塞 60 秒才回退到 main。现改为 --max-time 15 --connect-timeout 8,镜像源抖动时快速失败并自动回退到健康镜像(pmm.parlz.com), 不再"一直卡着"。
  • 说明:pmm install pmm==0.5.0Segmentation fault 是旧版本号/旧二进制的现象,升级到本版即可消除; 若仍复现请反馈完整报错。