aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-19 15:02:36 +0100
committerChocobozzz <me@florianbigard.com>2018-03-19 15:22:18 +0100
commita797728009eb5c26cf55624a4a01e8ecb73f1297 (patch)
tree3dcfe4870986c9bacdfbd2a671143b5dfc4f47d3 /server/initializers
parent9d145133d82c11edfb2781871076b7063cc3ae3d (diff)
downloadPeerTube-a797728009eb5c26cf55624a4a01e8ecb73f1297.tar.gz
PeerTube-a797728009eb5c26cf55624a4a01e8ecb73f1297.tar.zst
PeerTube-a797728009eb5c26cf55624a4a01e8ecb73f1297.zip
Fix video_share_url duplicate key in transcoding job
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index d12d96803..3cf9ea36d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -234,7 +234,10 @@ const CONSTRAINTS_FIELDS = {
234} 234}
235 235
236let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour 236let VIDEO_VIEW_LIFETIME = 60000 * 60 // 1 hour
237const MAX_VIDEO_TRANSCODING_FPS = 30 237const VIDEO_TRANSCODING_FPS = {
238 MIN: 10,
239 MAX: 30
240}
238 241
239const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { 242const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = {
240 LIKE: 'like', 243 LIKE: 'like',
@@ -445,7 +448,7 @@ export {
445 VIDEO_LICENCES, 448 VIDEO_LICENCES,
446 VIDEO_RATE_TYPES, 449 VIDEO_RATE_TYPES,
447 VIDEO_MIMETYPE_EXT, 450 VIDEO_MIMETYPE_EXT,
448 MAX_VIDEO_TRANSCODING_FPS, 451 VIDEO_TRANSCODING_FPS,
449 USER_PASSWORD_RESET_LIFETIME, 452 USER_PASSWORD_RESET_LIFETIME,
450 IMAGE_MIMETYPE_EXT, 453 IMAGE_MIMETYPE_EXT,
451 SCHEDULER_INTERVAL, 454 SCHEDULER_INTERVAL,