pub fn total_ranges(filters: &[RangeFilter]) -> usizeExpand description
The total number of Ranges across filters.
This is the count MAX_FILTER_RANGES bounds: “Range Filters are only allowed if the setup option MAX_FILTER_RANGES is non-zero, which limits the total number of Ranges allowed in all Range Filter parameters for a given subscription or fetch.” Across all of them, so a peer cannot spend the budget a parameter at a time.
The ceiling itself is not applied here. It comes from a Setup Option, it is per subscription rather than per message, and exceeding it is answered with a REQUEST_ERROR — three reasons it belongs to whatever holds the session.