Skip to content

Commit 3af5245

Browse files
Page only 50 items at once
Closes #37
1 parent 0a7fa85 commit 3af5245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResultPager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function fetchAll(ApiInterface $api, $method, array $parameters = [])
9898
$perPage = $api->getPerPage();
9999

100100
// set parameters per_page to max to minimize number of requests
101-
$api->setPerPage(100);
101+
$api->setPerPage(50);
102102

103103
try {
104104
$result = $this->fetch($api, $method, $parameters)['values'];

0 commit comments

Comments
 (0)