Skip to main content

search_batch_resumed_page

Function search_batch_resumed_page 

Source
pub fn search_batch_resumed_page(resumed: usize) -> u32
Expand description

The rows each resumed page of one graphql::SEARCH_BATCH round asks for, when resumed of its slots — searches and origin item listings alike — resume from a cursor.

Every resumed page of a round shares one SEARCH_PAGE_SIZE of rows, rather than each asking that many: a round in which all twenty searches walked on at twenty rows a slot cost 22 points in one request, while sharing holds every round to what its first pages cost and one page more. A search with more to answer is walked on over more rounds, each page still read, so what a walk answers is unchanged; a round of one resumed search asks the page a search alone asks.