Add daemon restart, preview diagnostics, browse caching, and rate-limit pauses
This commit is contained in:
@@ -40,6 +40,15 @@ mobile draft at 390px.
|
||||
- [x] C11 preview caching: Discord-hosted image/GIF previews (WebP 320px, hash-addressed, 5 MiB
|
||||
cap, one attempt) run after every walk in both modes. Live run `...-20260916090722`:
|
||||
`previewed: 2`; thumbs served over `/api/media/<scrape>/<item>/thumb` (200).
|
||||
- [x] C36 Daemon restart, preview diagnostics, browse-time caching, and rate-limit pauses.
|
||||
Settings → Server has a **Restart daemon** button (`POST /api/daemon/restart`: re-execs the
|
||||
daemon, keeps the client running). The preview pass logs every failure with scrape/item/kind/
|
||||
provider/reason plus a per-pass summary, and `GET /api/media/preview-failures` lists them.
|
||||
Browsing no longer fetches Discord at all: the grid uses cached stills only (placeholders for
|
||||
missing ones), GIF hover plays the cached animated GIF (kept as `anim_hash`, served from
|
||||
`/anim`), and streaming only starts on explicit play. `429`s from previews/downloads raise a
|
||||
cooldown (`VESKSLOP_MEDIA_RATELIMIT_PAUSE_MS`, default 60 s, or `Retry-After`), leaving rows
|
||||
pending and pausing both walker and previews.
|
||||
- [x] C35 Walk/preview cycling. A live scrape now alternates: walk 5 pages, preview up to one
|
||||
batch (25, with the cooldown), walk on. Tiles fill in during a long walk instead of only at the
|
||||
end, and preview traffic is spread through the walk. Configurable with
|
||||
|
||||
Reference in New Issue
Block a user