Skip to content

Commit

Permalink
refactor clickhouse comp, idletimeout default
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj committed Jan 25, 2024
1 parent 44eff42 commit 130d1a3
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 130d1a3

Please sign in to comment.