Skip to main content

MAX_GITLAB_PAGES

Constant MAX_GITLAB_PAGES 

Source
pub const MAX_GITLAB_PAGES: u32 = 30;
Expand description

Maximum number of pages fetched per (host, project, endpoint) combination.

Mirrors deps_core::github::MAX_TAG_PAGES’s role — a safety ceiling, not the correctness mechanism (deps_core::pagination::page_has_more already stops as soon as a page comes back partial). Kept at the same value since GitLab’s order_by=version ordering (§4.2) does not have GitHub’s lexicographic-ordering hazard that justified a generously high cap there, but there is no reason to pick a materially different number.