Skip to main content

ORIGIN_BATCH

Constant ORIGIN_BATCH 

Source
pub const ORIGIN_BATCH: usize = 50;
Expand description

The most origins one graphql::COUNTERPART_LOOKUPS request asks for: a copy naming more sends one such request per this many.

The issues page that request asks for is one row an origin, and the projects page the rest of one projects listing page — MAX_PAGE_SIZE, or PROJECTS_CACHED_PAGE while the store’s cache stands in front of this source — so the request asks for no more rows than one listing page does, and a projects row is the dearer: about 7,000 of Linear’s 10,000 complexity points at the 70 a row a projects listing is priced at, and under 8,880 with the cache’s pages at 120, however many origins it carries.