mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Try to speed up AP update transaction
This commit is contained in:
parent
75e12406e2
commit
28dfb44b14
8 changed files with 56 additions and 45 deletions
|
@ -49,7 +49,7 @@ export abstract class APVideoAbstractBuilder {
|
|||
})
|
||||
}
|
||||
|
||||
protected async setPreview (video: MVideoFullLight, t: Transaction) {
|
||||
protected async setPreview (video: MVideoFullLight, t?: Transaction) {
|
||||
// Don't fetch the preview that could be big, create a placeholder instead
|
||||
const previewIcon = getPreviewFromIcons(this.videoObject)
|
||||
if (!previewIcon) return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue