Add timeout for requests to appstore

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-05-11 17:48:53 -05:00
parent d83f1d96d4
commit 72943c99a4

View file

@ -78,7 +78,9 @@ abstract class Fetcher {
return [];
}
$options = [];
$options = [
'timeout' => 10,
];
if ($ETag !== '') {
$options['headers'] = [