fix: do not await the batch call to sendMessage

This commit is contained in:
Julian Lam
2025-03-28 12:59:06 -04:00
parent 4b22f29778
commit aa4f23bfad

View File

@@ -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))),
{