diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-25 16:31:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-25 17:49:49 +0200 |
commit | cfaf819c38dc0de996c9844e5ef0ee364944d41f (patch) | |
tree | d29072270c20908e84912f3f3bb79ab4fa034faf /server/initializers/constants.ts | |
parent | ebdb612458877465717bc669b40612fa833ff0c9 (diff) | |
download | PeerTube-cfaf819c38dc0de996c9844e5ef0ee364944d41f.tar.gz PeerTube-cfaf819c38dc0de996c9844e5ef0ee364944d41f.tar.zst PeerTube-cfaf819c38dc0de996c9844e5ef0ee364944d41f.zip |
Reduce video import TTL
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 947cbda28..8e019f61e 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -119,7 +119,7 @@ const JOB_TTL: { [ id in JobType ]: number } = { | |||
119 | 'activitypub-follow': 60000 * 10, // 10 minutes | 119 | 'activitypub-follow': 60000 * 10, // 10 minutes |
120 | 'video-file-import': 1000 * 3600, // 1 hour | 120 | 'video-file-import': 1000 * 3600, // 1 hour |
121 | 'video-file': 1000 * 3600 * 48, // 2 days, transcoding could be long | 121 | 'video-file': 1000 * 3600 * 48, // 2 days, transcoding could be long |
122 | 'video-import': 1000 * 3600 * 5, // 5 hours | 122 | 'video-import': 1000 * 3600 * 5, // 1 hour |
123 | 'email': 60000 * 10, // 10 minutes | 123 | 'email': 60000 * 10, // 10 minutes |
124 | 'videos-views': undefined // Unlimited | 124 | 'videos-views': undefined // Unlimited |
125 | } | 125 | } |