feat(Remote): Increased request timeout #114

This commit is contained in:
Yimura 2022-03-16 13:23:51 +01:00
parent 1bf809aa77
commit dc43c5872c
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682

View File

@ -10,7 +10,7 @@ namespace big::remote
try
{
http::Request req(file_url.data());
http::Response res = req.send("GET", "", {}, 2500ms);
http::Response res = req.send("GET", "", {}, 10s);
std::ostream_iterator<std::uint8_t> outputIter(file);
std::copy(res.body.begin(), res.body.end(), outputIter);