mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Reduce AP context size on specific activities
This commit is contained in:
parent
d6ebf0cac4
commit
598edb8af1
8 changed files with 121 additions and 104 deletions
|
@ -4,11 +4,13 @@ import { doRequest } from '../../../helpers/requests'
|
|||
import { buildGlobalHeaders, buildSignedRequestOptions, computeBody } from './utils/activitypub-http-utils'
|
||||
import { JOB_REQUEST_TIMEOUT } from '../../../initializers/constants'
|
||||
import { ActorFollowScoreCache } from '../../files-cache'
|
||||
import { ContextType } from '@server/helpers/activitypub'
|
||||
|
||||
export type ActivitypubHttpUnicastPayload = {
|
||||
uri: string
|
||||
signatureActorId?: number
|
||||
body: any
|
||||
contextType?: ContextType
|
||||
}
|
||||
|
||||
async function processActivityPubHttpUnicast (job: Bull.Job) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue