Skip to main content

Module inbound_priority

Module inbound_priority 

Source
Expand description

Inbound frame drop priorities for pending-event overflow handling.

Lower priority values are kept longer under pressure; higher values are drop candidates first. Matches Python and Go client behavior.

Constants§

DEFAULT_INBOUND_MAX_SIZE
Pending-event cap (Python inbound queue parity).
DROP_PRIORITY_CRITICAL
Never drop: terminals, status, errors.
DROP_PRIORITY_HIGH
Prefer keep: cognition / tool batches.
DROP_PRIORITY_NORMAL
Default drop candidate: streaming chunks.

Functions§

inbound_frame_drop_priority
Returns drop priority for an inbound frame.