mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-02 13:00:37 +00:00
Update TODO
This commit is contained in:
@@ -129,13 +129,14 @@ pub fn init_tenant_task_pool() -> anyhow::Result<()> {
|
||||
// TODO cancel all running tasks
|
||||
break
|
||||
},
|
||||
// TODO don't spawn if already running
|
||||
tenantid = gc_recv.recv() => {
|
||||
let tenantid = tenantid.expect("Gc task channel closed unexpectedly");
|
||||
// TODO cancel existing loop, if any.
|
||||
tokio::spawn(gc_loop(tenantid));
|
||||
},
|
||||
tenantid = compaction_recv.recv() => {
|
||||
let tenantid = tenantid.expect("Compaction task channel closed unexpectedly");
|
||||
// TODO cancel existing loop, if any.
|
||||
tokio::spawn(compaction_loop(tenantid));
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user