mirror of
https://github.com/neondatabase/neon.git
synced 2026-07-05 13:10:37 +00:00
Add manager comment
This commit is contained in:
@@ -120,7 +120,8 @@ pub async fn main_task(
|
||||
tli.broker_active
|
||||
.store(is_active, std::sync::atomic::Ordering::SeqCst);
|
||||
|
||||
// wait until something changes
|
||||
// wait until something changes. tx channels are stored under Arc, so they will not be
|
||||
// dropped until the manager task is finished.
|
||||
tokio::select! {
|
||||
_ = cancellation_rx.changed() => {
|
||||
// timeline was deleted
|
||||
|
||||
Reference in New Issue
Block a user