add callback for getContainerIp (#2851)

* add callback for getContainerIp

* register callback before retrieving info

* version bump; only use backports for linux
This commit is contained in:
Aiden McClelland
2025-03-20 15:54:05 -06:00
committed by GitHub
parent 05162ca350
commit 9e63f3f7c6
69 changed files with 592 additions and 262 deletions

View File

@@ -202,7 +202,8 @@ impl RpcContext {
.ser(&true)
})
.await
.unwrap()
.result
.log_err();
})
.into(),
)
@@ -330,7 +331,8 @@ impl RpcContext {
}
Ok(())
})
.await?;
.await
.result?;
let db = self.db.clone();
self.add_cron(async move {
loop {
@@ -355,6 +357,7 @@ impl RpcContext {
Ok(())
})
.await
.result
{
tracing::error!("Error in session cleanup cron: {e}");
tracing::debug!("{e:?}");
@@ -424,7 +427,8 @@ impl RpcContext {
}
Ok(())
})
.await?;
.await
.result?;
check_requested_actions.complete();
Ok(())