diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-11 17:33:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-12 08:31:06 +0200 |
commit | cda03765fe366f028897e9b02dd4a0a19af3c935 (patch) | |
tree | 4d30303d76f8fd171195a51b1f737a0067987d6c /server.ts | |
parent | 7b293f28686319242958dff7315cdd8ad74fc15e (diff) | |
download | PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.tar.gz PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.tar.zst PeerTube-cda03765fe366f028897e9b02dd4a0a19af3c935.zip |
Add ability to delete old remote views
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -101,6 +101,7 @@ import { | |||
101 | import { advertiseDoNotTrack } from './server/middlewares/dnt' | 101 | import { advertiseDoNotTrack } from './server/middlewares/dnt' |
102 | import { Redis } from './server/lib/redis' | 102 | import { Redis } from './server/lib/redis' |
103 | import { ActorFollowScheduler } from './server/lib/schedulers/actor-follow-scheduler' | 103 | import { ActorFollowScheduler } from './server/lib/schedulers/actor-follow-scheduler' |
104 | import { RemoveOldViewsScheduler } from './server/lib/schedulers/remove-old-views-scheduler' | ||
104 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' | 105 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' |
105 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' | 106 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' |
106 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' | 107 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' |
@@ -242,6 +243,7 @@ async function startApplication () { | |||
242 | YoutubeDlUpdateScheduler.Instance.enable() | 243 | YoutubeDlUpdateScheduler.Instance.enable() |
243 | VideosRedundancyScheduler.Instance.enable() | 244 | VideosRedundancyScheduler.Instance.enable() |
244 | RemoveOldHistoryScheduler.Instance.enable() | 245 | RemoveOldHistoryScheduler.Instance.enable() |
246 | RemoveOldViewsScheduler.Instance.enable() | ||
245 | 247 | ||
246 | // Redis initialization | 248 | // Redis initialization |
247 | Redis.Instance.init() | 249 | Redis.Instance.init() |