Add per_page to do less pagination, refs #6592
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…
Reference in New Issue