Cap transient preview retries and close dead hosts
This commit is contained in:
@@ -40,6 +40,10 @@ 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] 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
|
||||
`preview_attempts`; after `VESKSLOP_MEDIA_PREVIEW_MAX_ATTEMPTS` (3) the row is marked
|
||||
`unreachable after N attempt(s)` and leaves the pending queue. Unit-tested.
|
||||
- [x] C41 Restart keeps its logs. A button restart spawned the replacement with `stdio: ignore`,
|
||||
so anything after the restart vanished. The replacement now appends to `daemon.log` beside the
|
||||
token file (`VESKSLOP_DAEMON_LOG` overrides); documented in [docs/daemon.md](docs/daemon.md).
|
||||
|
||||
Reference in New Issue
Block a user