From 904a42deaa9b3d1d8123a7c177369c71562ccf10 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Mon, 18 Dec 2023 22:06:10 +0100 Subject: [PATCH] Export --- apps/dashboard/src/components/export-status.tsx | 2 +- packages/jobs/src/transactions/sync.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dashboard/src/components/export-status.tsx b/apps/dashboard/src/components/export-status.tsx index 21e44fc1f3..619f9e5fa9 100644 --- a/apps/dashboard/src/components/export-status.tsx +++ b/apps/dashboard/src/components/export-status.tsx @@ -72,7 +72,7 @@ export function ExportStatus() { title: "Exporting transactions.", variant: "progress", description: "Please do not close browser until completed", - duration: Infinity, + duration: 8000, progress: 0, }); diff --git a/packages/jobs/src/transactions/sync.ts b/packages/jobs/src/transactions/sync.ts index 4734995db1..a4994c7e4c 100644 --- a/packages/jobs/src/transactions/sync.ts +++ b/packages/jobs/src/transactions/sync.ts @@ -48,7 +48,7 @@ client.defineJob({ }), { onConflict: "internal_id", - ignoreDuplicates: false, + ignoreDuplicates: true, } ) .select();