Skip to content

Commit

Permalink
Clickhouse peer UI: change default port to 9440 (#1948)
Browse files Browse the repository at this point in the history
In the clickhouse peer UI form, change the default textfield value of
the Port field to `9440` instead of `9000`
Functionally tested
  • Loading branch information
Amogh-Bharadwaj authored Jul 16, 2024
1 parent 4be6bec commit f28bcd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/peers/create/[peerType]/helpers/ch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const clickhouseSetting: PeerSetting[] = [
stateHandler: (value, setter) =>
setter((curr) => ({ ...curr, port: parseInt(value as string, 10) })),
type: 'number', // type for textfield
default: 9000,
default: 9440,
tips: 'Specifies the TCP/IP port or local Unix domain socket file extension on which Clickhouse is listening for connections from client applications.',
},
{
Expand Down Expand Up @@ -89,7 +89,7 @@ export const clickhouseSetting: PeerSetting[] = [

export const blankClickhouseSetting: ClickhouseConfig = {
host: '',
port: 9000,
port: 9440,
user: '',
password: '',
database: '',
Expand Down

0 comments on commit f28bcd7

Please sign in to comment.