Spaces:
Paused
Paused
fix(tvchak): fetchPlay 재시도 4→7회 — 잔여 간헐 실패 흡수
Browse files재시도 4회로 18/20까지 올라왔으나 잔여 2건은 desync 연속 실패. 7회로 늘려 흡수율 향상.
server.js
CHANGED
|
@@ -1848,7 +1848,7 @@ async function fetchPlay(id, sid, nid) {
|
|
| 1848 |
const playPath = `/index.php/vod/play/id/${id}/sid/${sid}/nid/${nid}.html`;
|
| 1849 |
let cfg = null;
|
| 1850 |
let lastErr = '';
|
| 1851 |
-
for (let attempt = 0; attempt <
|
| 1852 |
const r = await tvFetch(d.domain, playPath);
|
| 1853 |
if (r.ok && r.status === 200) {
|
| 1854 |
const parsed = parsePlayerAaaa(r.body);
|
|
|
|
| 1848 |
const playPath = `/index.php/vod/play/id/${id}/sid/${sid}/nid/${nid}.html`;
|
| 1849 |
let cfg = null;
|
| 1850 |
let lastErr = '';
|
| 1851 |
+
for (let attempt = 0; attempt < 7; attempt++) {
|
| 1852 |
const r = await tvFetch(d.domain, playPath);
|
| 1853 |
if (r.ok && r.status === 200) {
|
| 1854 |
const parsed = parsePlayerAaaa(r.body);
|