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) {