mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add per_page to do less pagination, refs #6592
This commit is contained in:
parent
086b750b76
commit
6fd504ef41
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue