diff --git a/src/Repository.php b/src/Repository.php index f3a0a3d..e761e36 100644 --- a/src/Repository.php +++ b/src/Repository.php @@ -174,6 +174,8 @@ public function getMilestones(array $params = []): Generator */ private function fetch(string $url): Generator { + set_time_limit(15); // prevent timeouts - time limit is reset on every recursive call + $response = fopen($url, 'r', false, $this->context); if (!$response) {