private static instance: AbstractScheduler
- protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.updateVideos
+ protected schedulerIntervalMs = SCHEDULER_INTERVALS_MS.UPDATE_VIDEOS
private constructor () {
super()
for (const schedule of schedules) {
await sequelizeTypescript.transaction(async t => {
- const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(schedule.videoId, t)
+ const video = await VideoModel.loadFull(schedule.videoId, t)
logger.info('Executing scheduled video update on %s.', video.uuid)