Companion to substrate #10196 - Add group name in task metrics (#732)

* Use blank task group name

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* cargo fmt

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* Update

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>

* update Cargo.lock and switch from 0.9.12 to master

* format with LATEST nightly

Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
sandreim
2021-11-11 21:41:36 +02:00
committed by GitHub
parent 496fab27b5
commit b968e54fe5
7 changed files with 1628 additions and 2899 deletions
+8 -4
View File
@@ -237,7 +237,9 @@ where
self.announce_block,
);
self.task_manager.spawn_essential_handle().spawn("cumulus-consensus", consensus);
self.task_manager
.spawn_essential_handle()
.spawn("cumulus-consensus", None, consensus);
}
}
@@ -281,9 +283,11 @@ where
self.para_id,
);
self.task_manager
.spawn_essential_handle()
.spawn("cumulus-pov-recovery", pov_recovery.run());
self.task_manager.spawn_essential_handle().spawn(
"cumulus-pov-recovery",
None,
pov_recovery.run(),
);
Ok(())
}