Skip to content

Commit aaa118f

Browse files
committed
Fix PERSIST_ETH1_CACHE / PERSIST_OP_POOL Metrics (#4278)
Do these metrics ever get read? As far as I'm aware, they're only ever updated when lighthouse is shutting down?
1 parent 91a7f51 commit aaa118f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_node/beacon_chain/src/beacon_chain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
555555

556556
/// Persists `self.eth1_chain` and its caches to disk.
557557
pub fn persist_eth1_cache(&self) -> Result<(), Error> {
558-
let _timer = metrics::start_timer(&metrics::PERSIST_OP_POOL);
558+
let _timer = metrics::start_timer(&metrics::PERSIST_ETH1_CACHE);
559559

560560
if let Some(eth1_chain) = self.eth1_chain.as_ref() {
561561
self.store

0 commit comments

Comments
 (0)