Skip to main content

COPY_DETAIL_BATCH

Constant COPY_DETAIL_BATCH 

Source
pub const COPY_DETAIL_BATCH: usize = 21;
Expand description

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

The six requests’ worth an item of DETAIL_BATCH costs, and its blockedBy connection besides: seven. Twenty-one items come to 147, which rounds to one point; twenty-two come to 154, 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.