Skip to main content

Module lifecycle

Module lifecycle 

Source
Expand description

Daemon shutdown: end every session concurrently inside ONE wall budget, then shut the shared extension host down.

Constants§

FORCE_BUDGET
--force: give the actors this long, then drop them.
SESSION_END_BUDGET
session::budgets::SESSION_END_TIMEOUT_SECS: the worst case of one session’s finish (cancelled-turn drain, save, hooks, observability flush); sessions end concurrently, so it is shared, not ×N.

Functions§

shutdown_all