Skip to content

Commit

Permalink
Increase organisation info retrieval timeout.
Browse files Browse the repository at this point in the history
Also makes it configurable with a hidden setting.
  • Loading branch information
EreMaijala committed Aug 9, 2023
1 parent 117960a commit 9d139d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ protected function fetchJson(string $url): ?array
$client = $this->httpService->createClient(
$url,
\Laminas\Http\Request::METHOD_GET,
10
$this->config->General->timeout ?? 20
);
$client->setOptions(['useragent' => 'VuFind']);
$result = $client->send();
Expand Down

0 comments on commit 9d139d1

Please sign in to comment.