Update the metrics more frequently to prevent spiking in rates
ci/woodpecker/push/manual Pipeline is pending Details
ci/woodpecker/push/check Pipeline was successful Details
ci/woodpecker/push/release Pipeline was successful Details

This commit is contained in:
Olivier 'reivilibre' 2022-06-04 23:36:59 +01:00
parent bde4a7e5e2
commit aa08463499
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ pub async fn main() -> anyhow::Result<()> {
let datastore_metrics_updater = {
let store = task_context.store.clone();
tokio::spawn(async move {
let mut interval = tokio::time::interval(Duration::from_secs(60));
let mut interval = tokio::time::interval(Duration::from_secs(30));
interval.set_missed_tick_behavior(MissedTickBehavior::Skip);
loop {
tokio::select! {