diff --git a/ui/app/mirrors/create/helpers/cdc.ts b/ui/app/mirrors/create/helpers/cdc.ts index f4bdf285f9..663e7aee22 100644 --- a/ui/app/mirrors/create/helpers/cdc.ts +++ b/ui/app/mirrors/create/helpers/cdc.ts @@ -29,7 +29,7 @@ export const cdcSettings: MirrorSetting[] = [ stateHandler: (value, setter) => setter((curr: CDCConfig) => ({ ...curr, - idleTimeoutSeconds: (value as number) || 100000, + idleTimeoutSeconds: (value as number) || 60, })), tips: 'Time after which a Sync flow ends, if it happens before pull batch size is reached. Defaults to 60 seconds.', helpfulLink: 'https://docs.peerdb.io/metrics/important_cdc_configs', diff --git a/ui/components/PeerForms/ClickhouseConfig.tsx b/ui/components/PeerForms/ClickhouseConfig.tsx index 1d76286db0..3e589c5045 100644 --- a/ui/components/PeerForms/ClickhouseConfig.tsx +++ b/ui/components/PeerForms/ClickhouseConfig.tsx @@ -18,7 +18,7 @@ interface ConfigProps { setter: PeerSetter; } -export default function PostgresForm({ settings, setter }: ConfigProps) { +export default function ClickhouseForm({ settings, setter }: ConfigProps) { const [showSSH, setShowSSH] = useState(false); const [sshConfig, setSSHConfig] = useState(blankSSHConfig);