gitlab: Update requests query parameters

Increase number of origins per page to the maximum value allowed
by GitLab API (100) to send less requests.

Ask for simple responses to reduce size of JSON data.
This commit is contained in:
Antoine Lambert 2021-07-23 13:59:52 +02:00
parent 73f85c0b8a
commit 52c3150155

View file

@ -159,6 +159,8 @@ class GitLabLister(Lister[GitLabListerState, PageResult]):
"pagination": "keyset",
"order_by": "id",
"sort": "asc",
"simple": "true",
"per_page": "100",
}
if id_after is not None:
parameters["id_after"] = str(id_after)