Skip to content

Commit

Permalink
added timeout of five seconds to default HTTP client
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaishiyoku committed Mar 12, 2023
1 parent 8ed338f commit 78e2f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HeraRssCrawler.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct()
'Accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
'Accept-Encoding' => 'gzip, deflate',
],
'timeout' => 2,
'timeout' => 5,
]);
$this->cssConverter = new CssSelectorConverter();
$this->feedDiscoverers = new Collection([
Expand Down

0 comments on commit 78e2f44

Please sign in to comment.