move live source ownership to accounts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//! Per-source task ownership, restart and cancellation.
|
||||
//! Per-account source task ownership, restart and cancellation.
|
||||
//!
|
||||
//! The supervisor guarantees at most one provider generation for a source ID.
|
||||
//! Reconfiguration cancels the old task before a replacement starts, preventing
|
||||
@@ -27,7 +27,7 @@ struct RunningSource {
|
||||
status: watch::Receiver<SourceStatus>,
|
||||
}
|
||||
|
||||
/// Owns exactly one provider task per account/source. Restart always cancels
|
||||
/// Owns exactly one provider task per account. Restart always cancels
|
||||
/// the prior generation before starting another, which prevents the duplicate
|
||||
/// listeners produced by the legacy `/reconnect` handler.
|
||||
#[derive(Clone)]
|
||||
|
||||
Reference in New Issue
Block a user