From f240fb4bea61484854cecbe711ac20d77c31915d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 16 Nov 2022 14:40:10 +0100 Subject: Fix broadcasting in parallel views --- server/lib/job-queue/handlers/activitypub-http-broadcast.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/job-queue/handlers') diff --git a/server/lib/job-queue/handlers/activitypub-http-broadcast.ts b/server/lib/job-queue/handlers/activitypub-http-broadcast.ts index 733c1378a..57ecf0acc 100644 --- a/server/lib/job-queue/handlers/activitypub-http-broadcast.ts +++ b/server/lib/job-queue/handlers/activitypub-http-broadcast.ts @@ -1,7 +1,7 @@ import { Job } from 'bullmq' import { buildGlobalHeaders, buildSignedRequestOptions, computeBody } from '@server/lib/activitypub/send' import { ActorFollowHealthCache } from '@server/lib/actor-follow-health-cache' -import { sequentialHTTPBroadcastFromWorker } from '@server/lib/worker/parent-process' +import { parallelHTTPBroadcastFromWorker, sequentialHTTPBroadcastFromWorker } from '@server/lib/worker/parent-process' import { ActivitypubHttpBroadcastPayload } from '@shared/models' import { logger } from '../../../helpers/logger' @@ -22,7 +22,7 @@ async function processActivityPubParallelHttpBroadcast (job: Job