From 1bef1279e6dbf3cbdfa87e44aa9108ed6dbb3b0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Fri, 1 Sep 2023 08:19:14 +0200 Subject: [PATCH] fix: remove the alive and kicking info logs on workers --- packages/analytics/bin/worker.ts | 2 -- packages/auth/bin/worker.ts | 2 -- packages/event-store/bin/worker.ts | 2 -- packages/files/bin/worker.ts | 2 -- packages/scheduler/bin/worker.ts | 2 -- packages/syncing-server/bin/worker.ts | 2 -- packages/websockets/bin/worker.ts | 2 -- 7 files changed, 14 deletions(-) diff --git a/packages/analytics/bin/worker.ts b/packages/analytics/bin/worker.ts index 2e7124487..05dd71deb 100644 --- a/packages/analytics/bin/worker.ts +++ b/packages/analytics/bin/worker.ts @@ -22,6 +22,4 @@ void container.load().then((container) => { const subscriberFactory: DomainEventSubscriberFactoryInterface = container.get(TYPES.DomainEventSubscriberFactory) subscriberFactory.create().start() - - setInterval(() => logger.info('Alive and kicking!'), 20 * 60 * 1000) }) diff --git a/packages/auth/bin/worker.ts b/packages/auth/bin/worker.ts index a118dd549..f78d81ddf 100644 --- a/packages/auth/bin/worker.ts +++ b/packages/auth/bin/worker.ts @@ -24,6 +24,4 @@ void container.load().then((container) => { TYPES.Auth_DomainEventSubscriberFactory, ) subscriberFactory.create().start() - - setInterval(() => logger.info('Alive and kicking!'), 20 * 60 * 1000) }) diff --git a/packages/event-store/bin/worker.ts b/packages/event-store/bin/worker.ts index 3f6d09792..ac53b23e6 100644 --- a/packages/event-store/bin/worker.ts +++ b/packages/event-store/bin/worker.ts @@ -18,6 +18,4 @@ void container.load().then((container) => { const subscriberFactory: DomainEventSubscriberFactoryInterface = container.get(TYPES.DomainEventSubscriberFactory) subscriberFactory.create().start() - - setInterval(() => logger.info('Alive and kicking!'), 20 * 60 * 1000) }) diff --git a/packages/files/bin/worker.ts b/packages/files/bin/worker.ts index f5241c880..5fcea6222 100644 --- a/packages/files/bin/worker.ts +++ b/packages/files/bin/worker.ts @@ -24,6 +24,4 @@ void container.load().then((container) => { TYPES.Files_DomainEventSubscriberFactory, ) subscriberFactory.create().start() - - setInterval(() => logger.info('Alive and kicking!'), 20 * 60 * 1000) }) diff --git a/packages/scheduler/bin/worker.ts b/packages/scheduler/bin/worker.ts index 2e7124487..05dd71deb 100644 --- a/packages/scheduler/bin/worker.ts +++ b/packages/scheduler/bin/worker.ts @@ -22,6 +22,4 @@ void container.load().then((container) => { const subscriberFactory: DomainEventSubscriberFactoryInterface = container.get(TYPES.DomainEventSubscriberFactory) subscriberFactory.create().start() - - setInterval(() => logger.info('Alive and kicking!'), 20 * 60 * 1000) }) diff --git a/packages/syncing-server/bin/worker.ts b/packages/syncing-server/bin/worker.ts index c8f42b6c5..44402ce8a 100644 --- a/packages/syncing-server/bin/worker.ts +++ b/packages/syncing-server/bin/worker.ts @@ -20,6 +20,4 @@ void container.load().then((container) => { TYPES.Sync_DomainEventSubscriberFactory, ) subscriberFactory.create().start() - - setInterval(() => logger.info('Alive and kicking!'), 20 * 60 * 1000) }) diff --git a/packages/websockets/bin/worker.ts b/packages/websockets/bin/worker.ts index 3f6d09792..ac53b23e6 100644 --- a/packages/websockets/bin/worker.ts +++ b/packages/websockets/bin/worker.ts @@ -18,6 +18,4 @@ void container.load().then((container) => { const subscriberFactory: DomainEventSubscriberFactoryInterface = container.get(TYPES.DomainEventSubscriberFactory) subscriberFactory.create().start() - - setInterval(() => logger.info('Alive and kicking!'), 20 * 60 * 1000) })