]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/update-host.ts
Fix redis connection timeout
[github/Chocobozzz/PeerTube.git] / scripts / update-host.ts
index f752082fd0f4e8408c43cf0a50d19866493c0cd9..66c0137d926c357f23876b4ff00acbc8a7c614d7 100755 (executable)
@@ -135,7 +135,7 @@ async function run () {
     for (const file of (playlist?.VideoFiles || [])) {
       console.log('Updating fragmented torrent file %s of video %s.', file.resolution, video.uuid)
 
-      await updateTorrentMetadata(video, file)
+      await updateTorrentMetadata(playlist, file)
 
       await file.save()
     }