From f092e148bfa3e7166a4aadd1ade845624cc888bb Mon Sep 17 00:00:00 2001 From: efjacobson Date: Wed, 19 Jun 2024 16:42:38 -0700 Subject: [PATCH] increase apple news api guzzle timeout (#36) --- CHANGELOG-2.x.md | 4 ++++ src/AppleNews/AppleNewsApi.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG-2.x.md b/CHANGELOG-2.x.md index d7608a6..f0d2407 100644 --- a/CHANGELOG-2.x.md +++ b/CHANGELOG-2.x.md @@ -2,6 +2,10 @@ This changelog references the relevant changes done in 2.x versions. +## v2.6.1 +* Increase Guzzle timeout in `Triniti\AppleNews\AppleNewsApi`. + + ## v2.6.0 * Use atomic counters to update poll count in `Triniti\Apollo\NcrPollStatsProjector` * Set timeout in notifiers that use guzzle to 5 seconds. diff --git a/src/AppleNews/AppleNewsApi.php b/src/AppleNews/AppleNewsApi.php index fb6a658..c2d80a0 100644 --- a/src/AppleNews/AppleNewsApi.php +++ b/src/AppleNews/AppleNewsApi.php @@ -278,7 +278,7 @@ protected function getGuzzleClient(): GuzzleClient $this->guzzleClient = new GuzzleClient([ 'base_uri' => self::ENDPOINT, 'handler' => $stack, - 'timeout' => 5, + 'timeout' => 15, ]); }