Skip to main content

SEARCH_BATCH_FIRST_PAGE

Constant SEARCH_BATCH_FIRST_PAGE 

Source
pub const SEARCH_BATCH_FIRST_PAGE: u32 = 3;
πŸ‘ŽDeprecated since 0.18.0:

a batched search slot asks its remaining limit, up to MAX_PAGE_SIZE, on every page

Expand description

The rows each search of a graphql::SEARCH_BATCH request asked for on its first page, when every row carried the whole issue and was priced by it.

No longer what a batched find asks: a search slot now selects each hit’s scalar fields alone, which GitHub prices as one connection whatever its page size, so a search asks its whole remaining limit β€” up to MAX_PAGE_SIZE β€” on every page.