1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Add avatar max size limit

This commit is contained in:
Chocobozzz 2018-01-03 11:10:40 +01:00
parent 47564bbe2e
commit 01de67b9a4
No known key found for this signature in database
GPG key ID: 583A612D890159BE
17 changed files with 226 additions and 30 deletions

View file

@ -164,7 +164,7 @@ function onDatabaseInitDone () {
.then(() => {
// ----------- Make the server listening -----------
server.listen(port, () => {
VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.SIZE)
VideosPreviewCache.Instance.init(CONFIG.CACHE.PREVIEWS.FILE_SIZE)
activitypubHttpJobScheduler.activate()
transcodingJobScheduler.activate()