1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 18:29:27 +02:00

Support lazy download of remote video miniatures

This commit is contained in:
Chocobozzz 2023-06-07 08:53:14 +02:00
parent f162d32da0
commit bafaba0bcd
No known key found for this signature in database
GPG key ID: 583A612D890159BE
15 changed files with 152 additions and 114 deletions

View file

@ -1,10 +1,10 @@
import { CONFIG } from '@server/initializers/config'
import { ACTOR_IMAGES_SIZE } from '@server/initializers/constants'
import { ActorImageModel } from '@server/models/actor/actor-image'
import { MActorImage } from '@server/types/models'
import { AbstractPermanentFileCache } from './shared'
import { CONFIG } from '@server/initializers/config'
export class AvatarPermanentFileCache extends AbstractPermanentFileCache<ActorImageModel> {
export class AvatarPermanentFileCache extends AbstractPermanentFileCache<MActorImage> {
constructor () {
super(CONFIG.STORAGE.ACTOR_IMAGES)