Liquidator: Change metric printing interval to 10min

This commit is contained in:
Christian Kamm 2023-01-18 12:28:43 +01:00
parent ff90c85874
commit 7d74c5a6a6
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ impl<'a> LiquidationState<'a> {
}
fn start_chain_data_metrics(chain: Arc<RwLock<chain_data::ChainData>>, metrics: &metrics::Metrics) {
let mut interval = tokio::time::interval(std::time::Duration::from_secs(5));
let mut interval = tokio::time::interval(std::time::Duration::from_secs(600));
let mut metric_slots_count = metrics.register_u64("chain_data_slots_count".into());
let mut metric_accounts_count = metrics.register_u64("chain_data_accounts_count".into());