Skip to main content

DEFAULT_INBOX_CAPACITY

Constant DEFAULT_INBOX_CAPACITY 

Source
pub const DEFAULT_INBOX_CAPACITY: usize = 16 /* 16usize */;
Expand description

How many steering messages may wait in one running turn’s inbox, unless SteeringConfig::with_inbox_capacity says otherwise.

Sixteen is room for a person, or a supervising agent, to correct course a few times while a turn reads between steps, and small enough that a turn which never reads its inbox holds at most sixteen messages of at most DEFAULT_MAX_MESSAGE_SIZE bytes, about a mebibyte, for as long as it runs.