aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server.ts b/server.ts
index fffb8038f..a7fea34da 100644
--- a/server.ts
+++ b/server.ts
@@ -1,4 +1,6 @@
1// FIXME: https://github.com/nodejs/node/pull/16853 1// FIXME: https://github.com/nodejs/node/pull/16853
2import { VideosCaptionCache } from './server/lib/cache/videos-caption-cache'
3
2require('tls').DEFAULT_ECDH_CURVE = 'auto' 4require('tls').DEFAULT_ECDH_CURVE = 'auto'
3 5
4import { isTestInstance } from './server/helpers/core-utils' 6import { isTestInstance } from './server/helpers/core-utils'
@@ -181,6 +183,7 @@ async function startApplication () {
181 183
182 // Caches initializations 184 // Caches initializations
183 VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE) 185 VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE)
186 VideosCaptionCache.Instance.init(CONFIG.CACHE.VIDEO_CAPTIONS.SIZE)
184 187
185 // Enable Schedulers 188 // Enable Schedulers
186 BadActorFollowScheduler.Instance.enable() 189 BadActorFollowScheduler.Instance.enable()