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.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index a78a66d78..84a515857 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -644,6 +644,7 @@ const VIDEO_LIVE = {
644 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist 644 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist
645 REPLAY_DIRECTORY: 'replay', 645 REPLAY_DIRECTORY: 'replay',
646 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 4, 646 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 4,
647 MAX_SOCKET_WAITING_DATA: 1024 * 1000 * 100, // 100MB
647 RTMP: { 648 RTMP: {
648 CHUNK_SIZE: 60000, 649 CHUNK_SIZE: 60000,
649 GOP_CACHE: true, 650 GOP_CACHE: true,
@@ -656,7 +657,8 @@ const VIDEO_LIVE = {
656const MEMOIZE_TTL = { 657const MEMOIZE_TTL = {
657 OVERVIEWS_SAMPLE: 1000 * 3600 * 4, // 4 hours 658 OVERVIEWS_SAMPLE: 1000 * 3600 * 4, // 4 hours
658 INFO_HASH_EXISTS: 1000 * 3600 * 12, // 12 hours 659 INFO_HASH_EXISTS: 1000 * 3600 * 12, // 12 hours
659 LIVE_ABLE_TO_UPLOAD: 1000 * 60 // 1 minute 660 LIVE_ABLE_TO_UPLOAD: 1000 * 60, // 1 minute
661 LIVE_CHECK_SOCKET_HEALTH: 1000 * 60 // 1 minute
660} 662}
661 663
662const MEMOIZE_LENGTH = { 664const MEMOIZE_LENGTH = {