From bb682ae4b22259ffb0292c69c428762ac186a85c Mon Sep 17 00:00:00 2001 From: MemRelay Date: Fri, 13 Nov 2026 23:21:40 +0800 Subject: [PATCH] =?UTF-8?q?create:=20=E6=9B=B4=E6=96=B0=E7=BA=BF=E8=B7=AF?= =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E4=B8=8E=E5=B9=B6=E5=8F=91=E8=B0=83=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MemRelay-Operation: memory-save:iptv-fact-refresh-ui-20261113t1521 MemRelay-Resource: abe5ac46-cec2-4175-93e5-30f925a27898 --- .../更新线路进度与并发调节.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/更新线路进度与并发调节.md diff --git a/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/更新线路进度与并发调节.md b/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/更新线路进度与并发调节.md new file mode 100644 index 0000000..7bcf7bd --- /dev/null +++ b/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/更新线路进度与并发调节.md @@ -0,0 +1,17 @@ +--- +title: 更新线路进度与并发调节 +type: fact +permalink: main/projects/6acaea0a-2a42-470a-9bc0-528c1ae658eb/更新线路进度与并发调节 +stable_id: abe5ac46-cec2-4175-93e5-30f925a27898 +scope: project +memory_type: fact +project_id: 6acaea0a-2a42-470a-9bc0-528c1ae658eb +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: iptv-fact-refresh-ui-20261113t1521 +created_at: '2026-11-13T15:21:33.738837+00:00' +updated_at: '2026-11-13T15:21:33.738837+00:00' +--- + +Web 页面右上角可调并发协程数与超时。并发 8–400(默认 160),超时 2–20 秒(默认 5),保存在 localStorage:iptv-refresh-concurrency、iptv-refresh-timeout。POST /api/refresh?concurrency=&timeout=。进度串在标题栏底部:拉取上游 done/total,探测 done/total、可用 alive、并发。GET /api/status 返回 refresh.running/stage/done/total/alive/concurrency/timeout/message。页面每 400ms 轮询,进行中禁用按钮与参数;完成后自动刷新列表。探测会跟随 HLS 最多 3 跳并要求真实媒体分片,不再把仅能打开的 m3u8 当可播。Web 更新不含 mega 成人源,preserve_sources 保留库中已有条目。 \ No newline at end of file