diff --git a/ui/app/mirrors/create/helpers/cdc.ts b/ui/app/mirrors/create/helpers/cdc.ts index af79f83c52..1cfcac49d6 100644 --- a/ui/app/mirrors/create/helpers/cdc.ts +++ b/ui/app/mirrors/create/helpers/cdc.ts @@ -57,10 +57,10 @@ export const cdcSettings: MirrorSetting[] = [ stateHandler: (value, setter) => setter((curr: CDCConfig) => ({ ...curr, - snapshotNumTablesInParallel: parseInt(value as string, 10) || 1, + snapshotNumTablesInParallel: parseInt(value as string, 10) || 4, })), - tips: 'Specify the number of tables to sync perform initial load for, in parallel. The default value is 1.', - default: '1', + tips: 'Specify the number of tables to sync perform initial load for, in parallel. The default value is 4.', + default: '4', type: 'number', }, { diff --git a/ui/app/mirrors/page.tsx b/ui/app/mirrors/page.tsx index 41495d3e18..0f380bd1e4 100644 --- a/ui/app/mirrors/page.tsx +++ b/ui/app/mirrors/page.tsx @@ -21,6 +21,7 @@ const stringifyConfig = (flowArray: any[]) => { export default async function Mirrors() { let mirrors = await prisma.flows.findMany({ + distinct: 'name', include: { sourcePeer: true, destinationPeer: true,