From 05e608ab098d7e23e1e8e7fb66062cf18447328d Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Wed, 29 Jan 2025 10:01:38 +0100 Subject: [PATCH] chore: gather metrics every hour (#9163) --- src/lib/metrics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/metrics.ts b/src/lib/metrics.ts index e504d6e30d..f34d5fb589 100644 --- a/src/lib/metrics.ts +++ b/src/lib/metrics.ts @@ -1118,7 +1118,7 @@ export default class MetricsMonitor { await schedulerService.schedule( async () => Promise.all([collectStaticCounters(), collectAggDbMetrics()]), - hoursToMilliseconds(2), + hoursToMilliseconds(1), 'collectStaticCounters', ); await schedulerService.schedule(