Add timeout for requests to appstore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
d83f1d96d4
commit
72943c99a4
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ abstract class Fetcher {
|
|||
return [];
|
||||
}
|
||||
|
||||
$options = [];
|
||||
$options = [
|
||||
'timeout' => 10,
|
||||
];
|
||||
|
||||
if ($ETag !== '') {
|
||||
$options['headers'] = [
|
||||
|
|
Loading…
Reference in a new issue