aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 17d8ba556..6bcefe0db 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -152,7 +152,7 @@ const JOB_ATTEMPTS: { [id in JobType]: number } = {
152 'activitypub-refresher': 1, 152 'activitypub-refresher': 1,
153 'video-redundancy': 1, 153 'video-redundancy': 1,
154 'video-live-ending': 1, 154 'video-live-ending': 1,
155 'video-edition': 1, 155 'video-studio-edition': 1,
156 'manage-video-torrent': 1, 156 'manage-video-torrent': 1,
157 'move-to-object-storage': 3 157 'move-to-object-storage': 3
158} 158}
@@ -170,7 +170,7 @@ const JOB_CONCURRENCY: { [id in Exclude<JobType, 'video-transcoding' | 'video-im
170 'activitypub-refresher': 1, 170 'activitypub-refresher': 1,
171 'video-redundancy': 1, 171 'video-redundancy': 1,
172 'video-live-ending': 10, 172 'video-live-ending': 10,
173 'video-edition': 1, 173 'video-studio-edition': 1,
174 'manage-video-torrent': 1, 174 'manage-video-torrent': 1,
175 'move-to-object-storage': 1 175 'move-to-object-storage': 1
176} 176}
@@ -182,7 +182,7 @@ const JOB_TTL: { [id in JobType]: number } = {
182 'activitypub-cleaner': 1000 * 3600, // 1 hour 182 'activitypub-cleaner': 1000 * 3600, // 1 hour
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-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': 1000 * 3600 * 2, // 2 hours
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
@@ -358,7 +358,7 @@ const CONSTRAINTS_FIELDS = {
358 COMMONS: { 358 COMMONS: {
359 URL: { min: 5, max: 2000 } // Length 359 URL: { min: 5, max: 2000 } // Length
360 }, 360 },
361 VIDEO_EDITOR: { 361 VIDEO_STUDIO: {
362 TASKS: { min: 1, max: 10 }, // Number of tasks 362 TASKS: { min: 1, max: 10 }, // Number of tasks
363 CUT_TIME: { min: 0 } // Value 363 CUT_TIME: { min: 0 } // Value
364 } 364 }