mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-09 11:18:10 +00:00
Add timeout for #3427
This commit is contained in:
@@ -172,6 +172,7 @@ class UpdateRequest implements UpdateRequestInterface
|
|||||||
'headers' => [
|
'headers' => [
|
||||||
'User-Agent' => sprintf('FireflyIII/%s/%s', config('firefly.version'), $channel),
|
'User-Agent' => sprintf('FireflyIII/%s/%s', config('firefly.version'), $channel),
|
||||||
],
|
],
|
||||||
|
'timeout' => 3.1415
|
||||||
];
|
];
|
||||||
$res = $client->request('GET', $uri, $options);
|
$res = $client->request('GET', $uri, $options);
|
||||||
} catch (GuzzleException|Exception $e) {
|
} catch (GuzzleException|Exception $e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user