File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1759,8 +1759,9 @@ impl<P: OnChainConfigProvider> EpochManager<P> {
1759
1759
p. timestamp_usecs ( ) ,
1760
1760
) ;
1761
1761
observe_block ( p. timestamp_usecs ( ) , "block_data_prefetch" ) ;
1762
+ let ts = p. timestamp_usecs ( ) ;
1763
+ defer ! ( observe_block( ts, "block_forwarded_to" ) ) ;
1762
1764
}
1763
-
1764
1765
Self :: forward_event_to ( buffered_proposal_tx, peer_id, opt_proposal_event)
1765
1766
. context ( "proposal precheck sender" )
1766
1767
} ,
Original file line number Diff line number Diff line change @@ -2039,7 +2039,7 @@ impl RoundManager {
2039
2039
info ! ( epoch = self . epoch_state. epoch, "RoundManager started" ) ;
2040
2040
let mut close_rx = close_rx. into_stream ( ) ;
2041
2041
loop {
2042
- tokio:: select! {
2042
+ monitor ! ( "round_manager_loop" , tokio:: select! {
2043
2043
biased;
2044
2044
close_req = close_rx. select_next_some( ) => {
2045
2045
if let Ok ( ack_sender) = close_req {
@@ -2163,7 +2163,7 @@ impl RoundManager {
2163
2163
}
2164
2164
}
2165
2165
} ,
2166
- }
2166
+ } )
2167
2167
}
2168
2168
info ! ( epoch = self . epoch_state. epoch, "RoundManager stopped" ) ;
2169
2169
}
You can’t perform that action at this time.
0 commit comments