mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: do not await the batch call to sendMessage
This commit is contained in:
@@ -395,7 +395,8 @@ ActivityPub.send = async (type, id, targets, payload) => {
|
||||
...payload,
|
||||
};
|
||||
|
||||
await batch.processArray(
|
||||
// Runs in background... potentially a better queue is required... later.
|
||||
batch.processArray(
|
||||
inboxes,
|
||||
async inboxBatch => Promise.all(inboxBatch.map(async uri => sendMessage(uri, id, type, payload))),
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user