From 43e7a17ceba0b7578b6d61432b9c86fc371d1032 Mon Sep 17 00:00:00 2001 From: David Leek Date: Wed, 24 Jan 2024 15:37:49 +0100 Subject: [PATCH] chore: schedule migration execution --- src/lib/features/scheduler/schedule-services.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/features/scheduler/schedule-services.ts b/src/lib/features/scheduler/schedule-services.ts index 0e276270c902..78c6bc566558 100644 --- a/src/lib/features/scheduler/schedule-services.ts +++ b/src/lib/features/scheduler/schedule-services.ts @@ -25,6 +25,7 @@ export const scheduleServices = async ( configurationRevisionService, eventAnnouncerService, featureToggleService, + eventService, versionService, lastSeenService, proxyService, @@ -150,4 +151,10 @@ export const scheduleServices = async ( minutesToMilliseconds(3), 'updateAccountLastSeen', ); + + schedulerService.schedule( + eventService.setEventCreatedByUserId.bind(eventService), + minutesToMilliseconds(2), + 'setEventCreatedByUserId', + ); };