1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Avoid making retried requests to dead followers

This commit is contained in:
Chocobozzz 2018-01-12 10:02:11 +01:00
parent 9a8cbd8278
commit 6502c3d43e
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 44 additions and 3 deletions

View file

@ -81,7 +81,6 @@ async function resolveThread (url: string, comments: VideoCommentModel[] = []) {
// Speed up things and resolve directly the thread
if (commentFromDatabase.InReplyToVideoComment) {
const data = await VideoCommentModel.listThreadParentComments(commentFromDatabase, undefined, 'DESC')
console.log(data)
parentComments = parentComments.concat(data)
}