mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Optimize AP fetch
This commit is contained in:
parent
11a554cfcf
commit
a2f99b54df
4 changed files with 13 additions and 5 deletions
|
@ -28,6 +28,9 @@ async function processCreateActivity (options: APProcessorOptions<ActivityCreate
|
|||
}
|
||||
|
||||
if (activityType === 'Note') {
|
||||
// Comments will be fetched from videos
|
||||
if (options.fromFetch) return
|
||||
|
||||
return retryTransactionWrapper(processCreateVideoComment, activity, byActor, notify)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue