From d2e733c8b6ef860b91c734f2dfb44c9b0ac37f25 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sun, 26 May 2024 21:13:25 +0200 Subject: [PATCH] events-backend: avoid immediate cleanup job to avoid it running for integration tests Signed-off-by: Patrik Oldsberg --- plugins/events-backend/src/service/hub/DatabaseEventBusStore.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/events-backend/src/service/hub/DatabaseEventBusStore.ts b/plugins/events-backend/src/service/hub/DatabaseEventBusStore.ts index 53f55ce67f..9248e1c0e5 100644 --- a/plugins/events-backend/src/service/hub/DatabaseEventBusStore.ts +++ b/plugins/events-backend/src/service/hub/DatabaseEventBusStore.ts @@ -287,6 +287,7 @@ export class DatabaseEventBusStore implements EventBusStore { id: 'event-bus-cleanup', frequency: { seconds: 10 }, timeout: { minutes: 1 }, + initialDelay: { seconds: 10 }, fn: store.#cleanup, });