Skip to main content

Module control

Module control 

Source

Structs§

ControlHandler
Real channel-0 control handler for subc itself.

Constants§

DEFAULT_ROUTE_BIND_BREAKER_COOLDOWN
How long a module’s bind-relay breaker stays open before exactly one route.open is let through as a probe.
DEFAULT_ROUTE_BIND_BREAKER_THRESHOLD
How many CONSECUTIVE full-budget relay timeouts against one target module open that module’s bind-relay breaker.
DEFAULT_ROUTE_BIND_RELAY_TIMEOUT
How long subc waits for a module to ack a relayed route.bind before returning module_timeout. The ack waits on the module’s own configure, which for AFT includes a synchronous bounded project walk (up to ~20k files) plus gitignore and DB-open work — on a cold page cache or a large repo that legitimately exceeds a couple of seconds. The default is generous because rejecting a VALID bind is far worse than waiting on a slow one; a consumer that wants a tighter bound retries the bind itself (the sanctioned warm-bind-retry pattern).
MIN_SUPPORTED_VERSION
Lowest envelope version this subc build will negotiate.