aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
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()