diff --git a/ui/app/mirrors/create/cdc.tsx b/ui/app/mirrors/create/cdc.tsx index 41c3cd7c79..fba743a15e 100644 --- a/ui/app/mirrors/create/cdc.tsx +++ b/ui/app/mirrors/create/cdc.tsx @@ -21,7 +21,6 @@ interface MirrorConfigProps { setRows: Dispatch>; schema: string; setSchema: Dispatch>; - setValidSource: Dispatch>; } export const defaultSyncMode = (dtype: DBType | undefined) => { @@ -44,7 +43,6 @@ export default function CDCConfigForm({ setRows, schema, setSchema, - setValidSource, }: MirrorConfigProps) { const setToDefault = (setting: MirrorSetting) => { const destinationPeerType = mirrorConfig.destination?.type; diff --git a/ui/app/mirrors/create/helpers/cdc.ts b/ui/app/mirrors/create/helpers/cdc.ts index 1cfcac49d6..bc6910e128 100644 --- a/ui/app/mirrors/create/helpers/cdc.ts +++ b/ui/app/mirrors/create/helpers/cdc.ts @@ -48,7 +48,7 @@ export const cdcSettings: MirrorSetting[] = [ ...curr, snapshotMaxParallelWorkers: parseInt(value as string, 10) || 1, })), - tips: 'PeerDB spins up parallel threads for each partition. This setting controls the number of partitions to sync in parallel. The default value is 8.', + tips: 'PeerDB spins up parallel threads for each partition. This setting controls the number of partitions to sync in parallel. The default value is 1.', default: '1', type: 'number', }, diff --git a/ui/app/mirrors/create/page.tsx b/ui/app/mirrors/create/page.tsx index 9da1df0a82..afc94039be 100644 --- a/ui/app/mirrors/create/page.tsx +++ b/ui/app/mirrors/create/page.tsx @@ -408,7 +408,6 @@ export default function CreateMirrors() { setRows={setRows} setSchema={setSourceSchema} schema={sourceSchema} - setValidSource={setValidSource} /> ) : (