chore(jetstream): log bulk-create record count on flush
This commit is contained in:
@@ -72,6 +72,9 @@ const flushBulkCreate = async (did: string): Promise<void> => {
|
||||
if (!buffer) return;
|
||||
bulkBuffers.delete(did);
|
||||
const webhooks = getWebhooksByDidAndVerb(did, "bulk-create");
|
||||
log(
|
||||
`[jetstream] bulk-create ${did}: ${buffer.records.length} record(s)`,
|
||||
);
|
||||
await dispatchAll(
|
||||
webhooks,
|
||||
{ event: "bulk-create", did, records: buffer.records },
|
||||
|
||||
Reference in New Issue
Block a user