coordinator: push_todo returns Result so callers can see delivery outcome
This commit is contained in:
parent
b8627e7e94
commit
7c6f108716
6 changed files with 27 additions and 17 deletions
|
|
@ -132,7 +132,7 @@ async fn emit_login_transitions(
|
|||
) {
|
||||
for agent in current.difference(prev) {
|
||||
tracing::info!(%agent, "agent logged in");
|
||||
coord
|
||||
let _ = coord
|
||||
.push_todo(
|
||||
hive_sh4re::MANAGER_AGENT,
|
||||
"core",
|
||||
|
|
@ -163,7 +163,7 @@ async fn emit_login_transitions(
|
|||
.collect();
|
||||
for agent in current_needs.difference(&prev_needs) {
|
||||
tracing::info!(%agent, "agent needs login");
|
||||
coord
|
||||
let _ = coord
|
||||
.push_todo(
|
||||
hive_sh4re::MANAGER_AGENT,
|
||||
"core",
|
||||
|
|
|
|||
Loading…
Reference in a new issue