aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-30 15:59:22 +0100
committerChocobozzz <me@florianbigard.com>2020-11-30 15:59:22 +0100
commit937581b8f61fe82fdac044e11740b9a4cb6d96b0 (patch)
tree9b9274e2e4696cf167a86691dfc35c024cd254ba /server/initializers/constants.ts
parentd605328a300dca095fa93d7f03fa104573e5a3fa (diff)
downloadPeerTube-937581b8f61fe82fdac044e11740b9a4cb6d96b0.tar.gz
PeerTube-937581b8f61fe82fdac044e11740b9a4cb6d96b0.tar.zst
PeerTube-937581b8f61fe82fdac044e11740b9a4cb6d96b0.zip
Fix high CPU with long live when save replay is true
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 6c44d703e..da837837e 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -634,6 +634,7 @@ const VIDEO_LIVE = {
634 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes 634 CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes
635 SEGMENT_TIME_SECONDS: 4, // 4 seconds 635 SEGMENT_TIME_SECONDS: 4, // 4 seconds
636 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist 636 SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist
637 REPLAY_DIRECTORY: 'replay',
637 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 4, 638 EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 4,
638 RTMP: { 639 RTMP: {
639 CHUNK_SIZE: 60000, 640 CHUNK_SIZE: 60000,