diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-02 16:02:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-06 11:19:16 +0200 |
commit | ce32426be941164d041526e4748b4c83cdc6bf1c (patch) | |
tree | c505043886991f63a09f4499c1d84659cff236a3 /server.ts | |
parent | fbad87b0472f574409f7aa3ae7f8b54927d0cdd6 (diff) | |
download | PeerTube-ce32426be941164d041526e4748b4c83cdc6bf1c.tar.gz PeerTube-ce32426be941164d041526e4748b4c83cdc6bf1c.tar.zst PeerTube-ce32426be941164d041526e4748b4c83cdc6bf1c.zip |
Auto update youtube-dl
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -89,6 +89,7 @@ import { Redis } from './server/lib/redis' | |||
89 | import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follow-scheduler' | 89 | import { BadActorFollowScheduler } from './server/lib/schedulers/bad-actor-follow-scheduler' |
90 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' | 90 | import { RemoveOldJobsScheduler } from './server/lib/schedulers/remove-old-jobs-scheduler' |
91 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' | 91 | import { UpdateVideosScheduler } from './server/lib/schedulers/update-videos-scheduler' |
92 | import { YoutubeDlUpdateScheduler } from './server/lib/schedulers/youtube-dl-update-scheduler' | ||
92 | 93 | ||
93 | // ----------- Command line ----------- | 94 | // ----------- Command line ----------- |
94 | 95 | ||
@@ -186,6 +187,7 @@ async function startApplication () { | |||
186 | BadActorFollowScheduler.Instance.enable() | 187 | BadActorFollowScheduler.Instance.enable() |
187 | RemoveOldJobsScheduler.Instance.enable() | 188 | RemoveOldJobsScheduler.Instance.enable() |
188 | UpdateVideosScheduler.Instance.enable() | 189 | UpdateVideosScheduler.Instance.enable() |
190 | YoutubeDlUpdateScheduler.Instance.enable() | ||
189 | 191 | ||
190 | // Redis initialization | 192 | // Redis initialization |
191 | Redis.Instance.init() | 193 | Redis.Instance.init() |