From 910744fb084499a110d26bf5542abebb8a750b19 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 14 Sep 2022 15:10:37 +0200 Subject: Improve VideoChannelSyncLatestScheduler logs --- server/lib/schedulers/video-channel-sync-latest-scheduler.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server') diff --git a/server/lib/schedulers/video-channel-sync-latest-scheduler.ts b/server/lib/schedulers/video-channel-sync-latest-scheduler.ts index 491ddaa87..a527f68b5 100644 --- a/server/lib/schedulers/video-channel-sync-latest-scheduler.ts +++ b/server/lib/schedulers/video-channel-sync-latest-scheduler.ts @@ -16,13 +16,13 @@ export class VideoChannelSyncLatestScheduler extends AbstractScheduler { } protected async internalExecute () { - logger.debug('Running %s.%s', this.constructor.name, this.internalExecute.name) - if (!CONFIG.IMPORT.VIDEO_CHANNEL_SYNCHRONIZATION.ENABLED) { - logger.info('Discard channels synchronization as the feature is disabled') + logger.debug('Discard channels synchronization as the feature is disabled') return } + logger.info('Checking channels to synchronize') + const channelSyncs = await VideoChannelSyncModel.listSyncs() for (const sync of channelSyncs) { -- cgit v1.2.3