aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-02 16:02:51 +0200
committerChocobozzz <me@florianbigard.com>2018-08-06 11:19:16 +0200
commitce32426be941164d041526e4748b4c83cdc6bf1c (patch)
treec505043886991f63a09f4499c1d84659cff236a3 /server/initializers/constants.ts
parentfbad87b0472f574409f7aa3ae7f8b54927d0cdd6 (diff)
downloadPeerTube-ce32426be941164d041526e4748b4c83cdc6bf1c.tar.gz
PeerTube-ce32426be941164d041526e4748b4c83cdc6bf1c.tar.zst
PeerTube-ce32426be941164d041526e4748b4c83cdc6bf1c.zip
Auto update youtube-dl
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index fdd772d84..cc363d4f2 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -108,7 +108,8 @@ const JOB_COMPLETED_LIFETIME = 60000 * 60 * 24 * 2 // 2 days
108let SCHEDULER_INTERVALS_MS = { 108let SCHEDULER_INTERVALS_MS = {
109 badActorFollow: 60000 * 60, // 1 hour 109 badActorFollow: 60000 * 60, // 1 hour
110 removeOldJobs: 60000 * 60, // 1 hour 110 removeOldJobs: 60000 * 60, // 1 hour
111 updateVideos: 60000 // 1 minute 111 updateVideos: 60000, // 1 minute
112 youtubeDLUpdate: 60000 * 60 * 24 // 1 day
112} 113}
113 114
114// --------------------------------------------------------------------------- 115// ---------------------------------------------------------------------------