File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -8,16 +8,24 @@ import { TrendingSource } from '../entity/TrendingSource';
88import { TrendingTag } from '../entity/TrendingTag' ;
99import { PopularVideoPost } from '../entity/PopularVideoPost' ;
1010import { UserStats } from '../entity' ;
11+ import { TrendingUserPost } from '../entity/TrendingUserPost' ;
12+ import { TrendingUserSource } from '../entity/TrendingUserSource' ;
13+ import { PopularUserPost } from '../entity/PopularUserPost' ;
14+ import { PopularUserSource } from '../entity/PopularUserSource' ;
1115
1216const cron : Cron = {
1317 name : 'update-highlighted-views' ,
1418 handler : async ( con , logger ) => {
1519 const viewsToRefresh = [
1620 TrendingPost ,
1721 TrendingSource ,
22+ TrendingUserPost ,
23+ TrendingUserSource ,
1824 TrendingTag ,
1925 PopularPost ,
2026 PopularSource ,
27+ PopularUserPost ,
28+ PopularUserSource ,
2129 PopularTag ,
2230 PopularVideoPost ,
2331 PopularVideoSource ,
You can’t perform that action at this time.
0 commit comments