X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server.ts;h=a52c47083ed2a4e090eff74b4226c4da62c51fae;hb=e755a63a1baaa1ddc94abd7f26f6708e8cb869a9;hp=e46ff85c7c214200a3b03b8d2de884151284ee49;hpb=01de67b9a4fcdf01102ccc3cb7dc24beebf6c7ea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server.ts b/server.ts index e46ff85c7..a52c47083 100644 --- a/server.ts +++ b/server.ts @@ -1,3 +1,6 @@ +// FIXME: https://github.com/nodejs/node/pull/16853 +require('tls').DEFAULT_ECDH_CURVE = 'auto' + import { isTestInstance } from './server/helpers/core-utils' if (isTestInstance()) { @@ -164,7 +167,7 @@ function onDatabaseInitDone () { .then(() => { // ----------- Make the server listening ----------- server.listen(port, () => { - VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.FILE_SIZE) + VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE) activitypubHttpJobScheduler.activate() transcodingJobScheduler.activate()