Slots: Log total proposing duration as milliseconds (#10886)

Parachains have currently a total proposing time of 500ms, so it this
currently always prints `0`. While actually the value is not `0` ;)
This commit is contained in:
Bastian Köcher
2022-02-20 02:49:49 +01:00
committed by GitHub
parent f3f617bd35
commit 9e12a0e86d
+2 -2
View File
@@ -654,10 +654,10 @@ pub fn proposing_remaining_duration<Block: BlockT>(
debug!(
target: log_target,
"No block for {} slots. Applying {} lenience, total proposing duration: {}",
"No block for {} slots. Applying {} lenience, total proposing duration: {}ms",
slot_info.slot.saturating_sub(parent_slot + 1),
slot_lenience_type.as_str(),
lenient_proposing_duration.as_secs(),
lenient_proposing_duration.as_millis(),
);
lenient_proposing_duration