mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Add metrics for EE PayloadStatus returns (#3486)
## Issue Addressed NA ## Proposed Changes Adds some metrics so we can track payload status responses from the EE. I think this will be useful for troubleshooting and alerting. I also bumped the `BecaonChain::per_slot_task` to `debug` since it doesn't seem too noisy and would have helped us with some things we were debugging in the past. ## Additional Info NA
This commit is contained in:
@@ -4274,8 +4274,13 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
/// it contains a call to `fork_choice` which may eventually call
|
||||
/// `tokio::runtime::block_on` in certain cases.
|
||||
pub async fn per_slot_task(self: &Arc<Self>) {
|
||||
trace!(self.log, "Running beacon chain per slot tasks");
|
||||
if let Some(slot) = self.slot_clock.now() {
|
||||
debug!(
|
||||
self.log,
|
||||
"Running beacon chain per slot tasks";
|
||||
"slot" => ?slot
|
||||
);
|
||||
|
||||
// Always run the light-weight pruning tasks (these structures should be empty during
|
||||
// sync anyway).
|
||||
self.naive_aggregation_pool.write().prune(slot);
|
||||
|
||||
Reference in New Issue
Block a user