From ab30d4698ba2481cb8785ea57a8cd3f60f6c475c Mon Sep 17 00:00:00 2001 From: Alex Debril Date: Sun, 18 Apr 2021 22:45:49 +0200 Subject: [PATCH] Timeout set to 30s --- src/FeedIo/Adapter/Guzzle/Client.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FeedIo/Adapter/Guzzle/Client.php b/src/FeedIo/Adapter/Guzzle/Client.php index 1b208c31..fde7a58a 100644 --- a/src/FeedIo/Adapter/Guzzle/Client.php +++ b/src/FeedIo/Adapter/Guzzle/Client.php @@ -156,7 +156,8 @@ protected function getOptions(\DateTime $modifiedSince) : array 'Accept-Encoding' => 'gzip, deflate', 'User-Agent' => $this->userAgent, 'If-Modified-Since' => $modifiedSince->format(\DateTime::RFC2822) - ] + ], + 'timeout' => 30, ]; } }