Skip to content

Commit

Permalink
Fix idletimeout default, change clickhouse component name (#1153)
Browse files Browse the repository at this point in the history
Minor UI changes
  • Loading branch information
Amogh-Bharadwaj authored Jan 25, 2024
1 parent 44eff42 commit 090b8fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/app/mirrors/create/helpers/cdc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion ui/components/PeerForms/ClickhouseConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean>(false);
const [sshConfig, setSSHConfig] = useState<SSHConfig>(blankSSHConfig);

Expand Down

0 comments on commit 090b8fb

Please sign in to comment.