diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-01 14:51:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:16:55 +0200 |
commit | d8f39b126d9fe4bec1c12fb213548cc6edc87867 (patch) | |
tree | 7f0f1cb23165cf4dd789b2d78b1fef7ee116f647 /server.ts | |
parent | 1fb7d094229acdc190c3f7551b43ac5445814dee (diff) | |
download | PeerTube-d8f39b126d9fe4bec1c12fb213548cc6edc87867.tar.gz PeerTube-d8f39b126d9fe4bec1c12fb213548cc6edc87867.tar.zst PeerTube-d8f39b126d9fe4bec1c12fb213548cc6edc87867.zip |
Add storyboard support
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -101,7 +101,7 @@ loadLanguages() | |||
101 | import { installApplication } from './server/initializers/installer' | 101 | import { installApplication } from './server/initializers/installer' |
102 | import { Emailer } from './server/lib/emailer' | 102 | import { Emailer } from './server/lib/emailer' |
103 | import { JobQueue } from './server/lib/job-queue' | 103 | import { JobQueue } from './server/lib/job-queue' |
104 | import { VideosPreviewCache, VideosCaptionCache } from './server/lib/files-cache' | 104 | import { VideosPreviewCache, VideosCaptionCache, VideosStoryboardCache } from './server/lib/files-cache' |
105 | import { | 105 | import { |
106 | activityPubRouter, | 106 | activityPubRouter, |
107 | apiRouter, | 107 | apiRouter, |
@@ -316,6 +316,7 @@ async function startApplication () { | |||
316 | VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE, FILES_CACHE.PREVIEWS.MAX_AGE) | 316 | VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE, FILES_CACHE.PREVIEWS.MAX_AGE) |
317 | VideosCaptionCache.Instance.init(CONFIG.CACHE.VIDEO_CAPTIONS.SIZE, FILES_CACHE.VIDEO_CAPTIONS.MAX_AGE) | 317 | VideosCaptionCache.Instance.init(CONFIG.CACHE.VIDEO_CAPTIONS.SIZE, FILES_CACHE.VIDEO_CAPTIONS.MAX_AGE) |
318 | VideosTorrentCache.Instance.init(CONFIG.CACHE.TORRENTS.SIZE, FILES_CACHE.TORRENTS.MAX_AGE) | 318 | VideosTorrentCache.Instance.init(CONFIG.CACHE.TORRENTS.SIZE, FILES_CACHE.TORRENTS.MAX_AGE) |
319 | VideosStoryboardCache.Instance.init(CONFIG.CACHE.STORYBOARDS.SIZE, FILES_CACHE.STORYBOARDS.MAX_AGE) | ||
319 | 320 | ||
320 | // Enable Schedulers | 321 | // Enable Schedulers |
321 | ActorFollowScheduler.Instance.enable() | 322 | ActorFollowScheduler.Instance.enable() |