Add comment

This commit is contained in:
Hocuri
2026-09-18 18:07:09 +02:00
parent 35776b5da7
commit 29a7d204bf

View File

@@ -98,6 +98,8 @@ pub(crate) async fn init_transports_inner(
// Take a lock in order to prevent other relay management code
// from running simultaneously
let _lock = context.background_task_lock.read().await;
// TODO add a back-channel here,
// and then the surrounding function has to wait until all tasks took the lock
loop {
let Ok(host) = relays_receiver.try_recv() else {