Skip to content

Commit

Permalink
increase apple news api guzzle timeout (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
efjacobson authored Jun 19, 2024
1 parent 17a8acf commit f092e14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG-2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/AppleNews/AppleNewsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ protected function getGuzzleClient(): GuzzleClient
$this->guzzleClient = new GuzzleClient([
'base_uri' => self::ENDPOINT,
'handler' => $stack,
'timeout' => 5,
'timeout' => 15,
]);
}

Expand Down

0 comments on commit f092e14

Please sign in to comment.