Show the effective backfill rate beside the ETA

This commit is contained in:
Fisto
2026-09-17 09:08:59 +02:00
parent a7db9cb200
commit 5b8e78940a
2 changed files with 8 additions and 4 deletions
+6 -2
View File
@@ -52,8 +52,12 @@ mobile draft at 390px.
scrape, dismisses a paused one on Stop without stopping it, turns red while limited, and shows scrape, dismisses a paused one on Stop without stopping it, turns red while limited, and shows
a session-only `N scrapes completed` note. The old `VESKSLOP_MEDIA_*` tuning env vars are gone. a session-only `N scrapes completed` note. The old `VESKSLOP_MEDIA_*` tuning env vars are gone.
New unit tests cover batching, the cooldown, live retuning, and queue grouping/finish/pause; New unit tests cover batching, the cooldown, live retuning, and queue grouping/finish/pause;
the Playwright smoke test covers the Bot tab. Live: daemon restarted, 6018 pending / 13321 the Playwright smoke test covers the Bot tab. Also fixed a real stall the queue exposed:
cached / 652 failed, ETA 4h 7m at 21.4 rows/min, settings round-trip verified. `pendingPreviews` never returned thumbnail-less embeds, so they sat pending forever and stalled
the job; the store now includes them and the resolver handles Discord CDN unfurls through the
proxy frame, with a content-type guard so the og:image fallback never reads media bytes. Live:
daemon restarted, pending falling (6018 → ~5900), cached rising, dead CDN unfurls closed as 404,
jobs queue smallest-first, settings round-trip verified (21.4 → 37.5 rows/min at 30 s cooldown).
- [x] C42 Preview attempts cap. The restart log showed the backfill retrying dead hosts (Gfycat - [x] C42 Preview attempts cap. The restart log showed the backfill retrying dead hosts (Gfycat
DNS is gone, Streamable answers 400) forever as "transient". Rows now carry DNS is gone, Streamable answers 400) forever as "transient". Rows now carry
`preview_attempts`; after `VESKSLOP_MEDIA_PREVIEW_MAX_ATTEMPTS` (3) the row is marked `preview_attempts`; after `VESKSLOP_MEDIA_PREVIEW_MAX_ATTEMPTS` (3) the row is marked
+2 -2
View File
@@ -563,8 +563,8 @@
el( el(
"div", "div",
"vk-bot-summary-line", "vk-bot-summary-line",
`ETA ${formatEta(totals.etaMs)} at ${status.estimatedPerMinute ?? 0} rows/min ` + `ETA ${formatEta(totals.etaMs)} at ${totals.perMinute ?? 0} rows/min ` +
`(current settings)` `(settings estimate ${status.estimatedPerMinute ?? 0}/min)`
), ),
el( el(
"div", "div",