Add per_page to do less pagination, refs #6592

main
Jordi Boggiano 7 years ago
parent 086b750b76
commit 6fd504ef41

@ -278,7 +278,7 @@ class GitLabDriver extends VcsDriver
*/ */
protected function getReferences($type) protected function getReferences($type)
{ {
$resource = $this->getApiUrl().'/repository/'.$type; $resource = $this->getApiUrl().'/repository/'.$type.'?per_page=100';
do { do {
$data = JsonFile::parseJson($this->getContents($resource), $resource); $data = JsonFile::parseJson($this->getContents($resource), $resource);

Loading…
Cancel
Save