Expand description
Role-slice hot reload after Event::SpecReloaded.
reconfigure currently only runs on welcome. A live connection that
stays up across onlyne reload never sees that frame, so this module
compares the query_roles row against the dispatcher’s current slice
and calls reconfigure only when runtime, max_sessions, or the role’s
allowed_targets changed.
The drive travels in the slice because it is the runtime’s property, read
from the spec’s [client.runtime]; the placement it pairs with is the
machine’s and never appears here (docs/v2-PLAN.md §“驱动与放置”).
Structs§
- Role
Slice - The fields
reconfigureconsumes.
Functions§
- apply_
if_ changed - Apply
nextwhen it differs; return the fields that changed. - drive_
of - The wire’s drive as the file’s drive.
- slice_
diff - Fields that would change if
nextwere applied.