aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/schedulers/video-views-buffer-scheduler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/schedulers/video-views-buffer-scheduler.ts')
-rw-r--r--server/lib/schedulers/video-views-buffer-scheduler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/schedulers/video-views-buffer-scheduler.ts b/server/lib/schedulers/video-views-buffer-scheduler.ts
index 937764155..244a88b14 100644
--- a/server/lib/schedulers/video-views-buffer-scheduler.ts
+++ b/server/lib/schedulers/video-views-buffer-scheduler.ts
@@ -26,7 +26,7 @@ export class VideoViewsBufferScheduler extends AbstractScheduler {
26 const views = await Redis.Instance.getLocalVideoViews(videoId) 26 const views = await Redis.Instance.getLocalVideoViews(videoId)
27 await Redis.Instance.deleteLocalVideoViews(videoId) 27 await Redis.Instance.deleteLocalVideoViews(videoId)
28 28
29 const video = await VideoModel.loadAndPopulateAccountAndServerAndTags(videoId) 29 const video = await VideoModel.loadFull(videoId)
30 if (!video) { 30 if (!video) {
31 logger.debug('Video %d does not exist anymore, skipping videos view addition.', videoId, lTags()) 31 logger.debug('Video %d does not exist anymore, skipping videos view addition.', videoId, lTags())
32 continue 32 continue