Improve VideoChannelSyncLatestScheduler logs
This commit is contained in:
parent
638949c67a
commit
910744fb08
|
@ -16,13 +16,13 @@ export class VideoChannelSyncLatestScheduler extends AbstractScheduler {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected async internalExecute () {
|
protected async internalExecute () {
|
||||||
logger.debug('Running %s.%s', this.constructor.name, this.internalExecute.name)
|
|
||||||
|
|
||||||
if (!CONFIG.IMPORT.VIDEO_CHANNEL_SYNCHRONIZATION.ENABLED) {
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.info('Checking channels to synchronize')
|
||||||
|
|
||||||
const channelSyncs = await VideoChannelSyncModel.listSyncs()
|
const channelSyncs = await VideoChannelSyncModel.listSyncs()
|
||||||
|
|
||||||
for (const sync of channelSyncs) {
|
for (const sync of channelSyncs) {
|
||||||
|
|
Loading…
Reference in New Issue