Skip to main content

MAX_ENTITY_RELATIONS

Constant MAX_ENTITY_RELATIONS 

Source
pub const MAX_ENTITY_RELATIONS: usize = 64;
Expand description

Maximum typed edges an entity profile resolves and returns PER DIRECTION (relations and relations_in each) — the same width grammar as MAX_WHY_NODE_DEGREE, on the surface #1743 never covered: resolving an entity followed every non-scaffolding edge of its hub, full target content included, so entity("X") on a name mentioned by thousands of facts was a constructible multi-megabyte response (#1820). Truncation is REPORTED (relations_truncated/relations_in_truncated on the profile), never silent: a profile with exactly this many edges is otherwise indistinguishable from a cut one.