mirror of
https://github.com/nais/wonderwall.git
synced 2026-08-19 11:06:17 +00:00
The metadata document was fetched with http.Get, which has no deadline, so a hung connection blocked startup indefinitely. The response status was never checked either, leaving an error page to surface as a JSON decoding error. The fetch now runs with a 10s deadline derived from the context passed in from main, goes through the shared transport so it is traced and pooled, and rejects any non-200 response.