Skip to content

fix(rendering): time out image downloads after 5 seconds - #982

Open
ugcodrr wants to merge 3 commits into
mainfrom
fix/image-download-timeout
Open

ugcodrr wants to merge 3 commits into
mainfrom
fix/image-download-timeout

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Description: Image downloads (skins, heads, badges, capes and Mojang textures) had no timeout, so one hung download left the whole command waiting forever.

  1. /cape now loads its capes through the same loadImage.

#989 is stacked on this PR.

Testing: point loadImage at a local server that accepts but never answers. It rejects with "timeout of 5000ms exceeded" after about 5 seconds.

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
statsify Ignored Ignored Preview Nov 3, 2026 1:50am UTC

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant