aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-10-27 16:06:24 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commit31c82cd914e13dbf53280d0aad0740d70c414441 (patch)
treee2f5ad1ee0e501f58c971eb89a60fc3b1c633f04 /server/initializers
parentda0310f821b039fea1fcbf8aea49e1d2279ba98e (diff)
downloadPeerTube-31c82cd914e13dbf53280d0aad0740d70c414441.tar.gz
PeerTube-31c82cd914e13dbf53280d0aad0740d70c414441.tar.zst
PeerTube-31c82cd914e13dbf53280d0aad0740d70c414441.zip
Fix replay saving
Diffstat (limited to 'server/initializers')
-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 065012b32..f0d614112 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -154,7 +154,7 @@ const JOB_CONCURRENCY: { [id in JobType]: number } = {
154 'videos-views': 1, 154 'videos-views': 1,
155 'activitypub-refresher': 1, 155 'activitypub-refresher': 1,
156 'video-redundancy': 1, 156 'video-redundancy': 1,
157 'video-live-ending': 1 157 'video-live-ending': 10
158} 158}
159const JOB_TTL: { [id in JobType]: number } = { 159const JOB_TTL: { [id in JobType]: number } = {
160 'activitypub-http-broadcast': 60000 * 10, // 10 minutes 160 'activitypub-http-broadcast': 60000 * 10, // 10 minutes
@@ -736,6 +736,8 @@ if (isTestInstance() === true) {
736 OVERVIEWS.VIDEOS.SAMPLE_THRESHOLD = 2 736 OVERVIEWS.VIDEOS.SAMPLE_THRESHOLD = 2
737 737
738 PLUGIN_EXTERNAL_AUTH_TOKEN_LIFETIME = 5000 738 PLUGIN_EXTERNAL_AUTH_TOKEN_LIFETIME = 5000
739
740 VIDEO_LIVE.CLEANUP_DELAY = 10000
739} 741}
740 742
741updateWebserverUrls() 743updateWebserverUrls()