From f28bcd71762da61554644f39d88d9d1f791f4335 Mon Sep 17 00:00:00 2001 From: Amogh Bharadwaj Date: Wed, 17 Jul 2024 03:05:28 +0530 Subject: [PATCH] Clickhouse peer UI: change default port to 9440 (#1948) In the clickhouse peer UI form, change the default textfield value of the Port field to `9440` instead of `9000` Functionally tested --- ui/app/peers/create/[peerType]/helpers/ch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/peers/create/[peerType]/helpers/ch.ts b/ui/app/peers/create/[peerType]/helpers/ch.ts index 09626d73c0..0e95e1140a 100644 --- a/ui/app/peers/create/[peerType]/helpers/ch.ts +++ b/ui/app/peers/create/[peerType]/helpers/ch.ts @@ -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.', }, { @@ -89,7 +89,7 @@ export const clickhouseSetting: PeerSetting[] = [ export const blankClickhouseSetting: ClickhouseConfig = { host: '', - port: 9000, + port: 9440, user: '', password: '', database: '',