Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Improve VideoChannelSyncLatestScheduler logs

Chocobozzz910744fb0844
diff --git a/server/lib/schedulers/video-channel-sync-latest-scheduler.ts b/server/lib/schedulers/video-channel-sync-latest-scheduler.ts
index 491ddaa871..a527f68b57 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) {