X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Ftracker.ts;h=2ae1cf86c5d979225929685b5a65c81c980413af;hb=a22046d166805222ca76060e471b6cb3d419a32d;hp=912f82b869efefdca5c0a19139152c93b1f74e23;hpb=97567dd81f508dd6295ac4d73d849aa2ce0a6549;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index 912f82b86..2ae1cf86c 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts @@ -48,7 +48,7 @@ const trackerServer = new TrackerServer({ try { if (CONFIG.TRACKER.PRIVATE === false) return cb() - const videoFileExists = await VideoFileModel.doesInfohashExist(infoHash) + const videoFileExists = await VideoFileModel.doesInfohashExistCached(infoHash) if (videoFileExists === true) return cb() const playlistExists = await VideoStreamingPlaylistModel.doesInfohashExist(infoHash)