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:
parent
f162d32da0
commit
bafaba0bcd
15 changed files with 152 additions and 114 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue