fix(managed): harden stop and deadline ordering

This commit is contained in:
Nils Andreas Svee committed 2026-08-04 23:19:18 +07:00
1 parent 1af8afcfae
commit 8445c0cd99
4 files changed
+522 -61

No files matched your search

+2
View File
@@ -260,6 +260,8 @@ pub enum ManagedConfigError {
ZeroEventCapacity,
#[error("managed live-generation limit must be greater than zero")]
ZeroLiveGenerationLimit,
#[error("managed final drain {duration:?} cannot be scheduled from the current instant")]
UnschedulableFinalDrain { duration: Duration },
#[error("invalid managed target {id}: {source}")]
InvalidTarget {
id: TargetId,