coreos / fedora-coreos-cincinnati

Backend for Fedora CoreOS auto-updates (Cincinnati server)
Other
12 stars 16 forks source link

scraper: add an upper bound timeout to HTTP requests #10

Closed lucab closed 4 years ago

lucab commented 4 years ago

This adds a very large timeout (4 hours) to all HTTP requests, as they currently default to none. It is meant to almost never trigger, except under pathological network conditions. In such cases, it should help detecting issues by explicitly erroring out instead of hanging forever.