Artwork that can never be shown is downloaded again every hour #448
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
/api/artremembers a failed image for an hour only (RETRYin crates/ipx/src/art.rs), whatever the failure. Images that will never pass are fetched again on the next view after that:Content-Lengthis not looked at first: roughly 3 GB downloaded for nothing.application/octet-stream:image_kindsniffs JPEG, PNG, GIF and WebP only, so they fail withnot an image, and the reader shows nothing where Safari could have shown them.425
GET /api/art -> 502in the same days. Found by the prod check.Refusing on
Content-Lengthbefore reading, and remembering a too-large or 4xx answer for longer than an hour, would stop most of it.