Improve VideoChannelSyncLatestScheduler logs

pull/5256/head
Chocobozzz 2022-09-14 15:10:37 +02:00
parent 638949c67a
commit 910744fb08
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 3 deletions

View File

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