From 2999f8df2dfee3e5a15af01d8c07c604b8b7f557 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Wed, 14 Feb 2024 15:10:44 +0100 Subject: [PATCH] fix: remove jitter from time sensitive scheduled jobs (#6240) --- src/lib/features/scheduler/schedule-services.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/features/scheduler/schedule-services.ts b/src/lib/features/scheduler/schedule-services.ts index a37994106f..9d163ab135 100644 --- a/src/lib/features/scheduler/schedule-services.ts +++ b/src/lib/features/scheduler/schedule-services.ts @@ -48,6 +48,7 @@ export const scheduleServices = async ( apiTokenService.fetchActiveTokens.bind(apiTokenService), minutesToMilliseconds(1), 'fetchActiveTokens', + 0, ); schedulerService.schedule( @@ -128,6 +129,7 @@ export const scheduleServices = async ( proxyService.fetchFrontendSettings.bind(proxyService), minutesToMilliseconds(2), 'fetchFrontendSettings', + 0, ); schedulerService.schedule(