Skip to main content

DETAIL_BATCH

Constant DETAIL_BATCH 

Source
pub const DETAIL_BATCH: usize = 24;
Expand description

How many items one graphql::ISSUE_DETAILS request reads, each with the first page of its comments: the largest batch the node-count model prices at one point.

Each aliased item is resolved once, and what GitHub charges for it is the connections under it — its labels, its page of board memberships, the field values of each of those three memberships, and its comments: six requests’ worth of the aggregate GitHub divides by a hundred and rounds. Twenty-four items come to 144, which rounds to one point; twenty-five come to 150, which rounds to two. tests/point_cost.rs prices the document at one point and fails if one item more would still be priced at one.