1
0
Fork 0

Add per_page to do less pagination, refs #6592

pull/6595/head
Jordi Boggiano 2017-08-08 10:05:30 +02:00
parent 086b750b76
commit 6fd504ef41
1 changed files with 1 additions and 1 deletions

View File

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