Track commands spawned and subscriptions alive in beacon

This commit is contained in:
Héctor Ramón Jiménez 2024-05-13 13:21:10 +02:00
parent e770804435
commit b8adfc9ffe
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
8 changed files with 131 additions and 35 deletions

View file

@ -143,9 +143,7 @@ where
let commands =
Command::batch(messages.into_iter().map(|message| {
debug::log_message(&message);
let update_span = debug::update();
let update_span = debug::update(&message);
let command = self.program.update(message);
update_span.finish();