Skip to main content

MAX_GITLAB_ROUTES

Constant MAX_GITLAB_ROUTES 

Source
pub const MAX_GITLAB_ROUTES: usize = 256;
Expand description

Upper bound on GitlabCiRegistry::routes’ entry count.

Mirrors deps_go::registry::MAX_ALTERNATE_REGISTRIES exactly, including its core semantics: at capacity a new route is simply never registered. Since a route is (origin, endpoint), this bounds distinct origins at 256 too — the same ceiling deps-nuget already imposes on HttpCache::trusted_clients growth.