Skip to content

Commit 55f86f0

Browse files
committed
max connections changed to 500
1 parent 52cf655 commit 55f86f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/storage/clickhouse.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ func connectDB(cfg *config.ClickhouseConfig) (clickhouse.Conn, error) {
9595
Username: cfg.Username,
9696
Password: cfg.Password,
9797
},
98+
MaxOpenConns: 500,
99+
MaxIdleConns: 500,
98100
Settings: func() clickhouse.Settings {
99101
settings := clickhouse.Settings{
100102
"do_not_merge_across_partitions_select_final": "1",

0 commit comments

Comments
 (0)