Add timeout for #3427

This commit is contained in:
James Cole
2020-06-04 06:20:52 +02:00
parent b968ef416a
commit 15d0e04431

View File

@@ -172,6 +172,7 @@ class UpdateRequest implements UpdateRequestInterface
'headers' => [
'User-Agent' => sprintf('FireflyIII/%s/%s', config('firefly.version'), $channel),
],
'timeout' => 3.1415
];
$res = $client->request('GET', $uri, $options);
} catch (GuzzleException|Exception $e) {