aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-11 15:38:53 +0200
committerChocobozzz <me@florianbigard.com>2019-04-11 15:38:53 +0200
commit8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98 (patch)
treee04f1da52f9377cf6ce820425c0de6e57ab57fc6 /server.ts
parent76062d9f96e06a23a2efc8a727ea9c5394d21466 (diff)
downloadPeerTube-8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98.tar.gz
PeerTube-8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98.tar.zst
PeerTube-8f0bc73d7d5f4c88cbc5588a0ece12b3855c8f98.zip
Add ability to limit videos history size
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.ts b/server.ts
index 110ae1ab8..f4f0c4d68 100644
--- a/server.ts
+++ b/server.ts
@@ -105,6 +105,7 @@ import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-
105import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' 105import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler'
106import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' 106import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler'
107import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler' 107import { VideosRedundancyScheduler } from './server/lib/schedulers/videos-redundancy-scheduler'
108import { RemoveOldHistoryScheduler } from './server/lib/schedulers/remove-old-history-scheduler'
108import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto' 109import { isHTTPSignatureDigestValid } from './server/helpers/peertube-crypto'
109import { PeerTubeSocket } from './server/lib/peertube-socket' 110import { PeerTubeSocket } from './server/lib/peertube-socket'
110import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls' 111import { updateStreamingPlaylistsInfohashesIfNeeded } from './server/lib/hls'
@@ -240,6 +241,7 @@ async function startApplication () {
240 UpdateVideosScheduler.Instance.enable() 241 UpdateVideosScheduler.Instance.enable()
241 YoutubeDlUpdateScheduler.Instance.enable() 242 YoutubeDlUpdateScheduler.Instance.enable()
242 VideosRedundancyScheduler.Instance.enable() 243 VideosRedundancyScheduler.Instance.enable()
244 RemoveOldHistoryScheduler.Instance.enable()
243 245
244 // Redis initialization 246 // Redis initialization
245 Redis.Instance.init() 247 Redis.Instance.init()