diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-24 14:55:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-24 14:55:07 +0200 |
commit | 3eba7ab8154027621989cdd4814bc749d79bf0c9 (patch) | |
tree | f3f0b6887c00660dc3f7da79ff2fe2379d170aaf /server/initializers/constants.ts | |
parent | 3cb60ca19eba97738342a10e15d5e5a916e2e690 (diff) | |
download | PeerTube-3eba7ab8154027621989cdd4814bc749d79bf0c9.tar.gz PeerTube-3eba7ab8154027621989cdd4814bc749d79bf0c9.tar.zst PeerTube-3eba7ab8154027621989cdd4814bc749d79bf0c9.zip |
Add ability to set a custom video import timeout
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 909fffdb6..02c1ef251 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -183,7 +183,7 @@ const JOB_TTL: { [id in JobType]: number } = { | |||
183 | 'video-file-import': 1000 * 3600, // 1 hour | 183 | 'video-file-import': 1000 * 3600, // 1 hour |
184 | 'video-transcoding': 1000 * 3600 * 48, // 2 days, transcoding could be long | 184 | 'video-transcoding': 1000 * 3600 * 48, // 2 days, transcoding could be long |
185 | 'video-studio-edition': 1000 * 3600 * 10, // 10 hours | 185 | 'video-studio-edition': 1000 * 3600 * 10, // 10 hours |
186 | 'video-import': 1000 * 3600 * 2, // 2 hours | 186 | 'video-import': CONFIG.IMPORT.VIDEOS.TIMEOUT, |
187 | 'email': 60000 * 10, // 10 minutes | 187 | 'email': 60000 * 10, // 10 minutes |
188 | 'actor-keys': 60000 * 20, // 20 minutes | 188 | 'actor-keys': 60000 * 20, // 20 minutes |
189 | 'videos-views-stats': undefined, // Unlimited | 189 | 'videos-views-stats': undefined, // Unlimited |