fix: add retries with backoff to mixpanel api

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-05 21:41:50 +01:00
parent f67ec2bb6a
commit a9b9ffa029
3 changed files with 60 additions and 13 deletions

View File

@@ -209,6 +209,8 @@ export async function importJob(job: Job<ImportQueuePayload>) {
await updateImportStatus(jobLogger, job, importId, {
step: 'loading',
batch: createdAt,
totalEvents,
processedEvents,
});
// Yield control back to event loop after processing final batch