From 96afbba409bf32f7fca64b497d61177d82949afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Helge=20=C3=98verland?= Date: Wed, 11 Dec 2024 21:13:40 +0100 Subject: [PATCH] fix: Update code --- .../java/org/hisp/dhis/db/init/AnalyticsDatabaseInit.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dhis-2/dhis-support/dhis-support-sql/src/main/java/org/hisp/dhis/db/init/AnalyticsDatabaseInit.java b/dhis-2/dhis-support/dhis-support-sql/src/main/java/org/hisp/dhis/db/init/AnalyticsDatabaseInit.java index 1bce670ce47..5db921c25c5 100644 --- a/dhis-2/dhis-support/dhis-support-sql/src/main/java/org/hisp/dhis/db/init/AnalyticsDatabaseInit.java +++ b/dhis-2/dhis-support/dhis-support-sql/src/main/java/org/hisp/dhis/db/init/AnalyticsDatabaseInit.java @@ -127,7 +127,9 @@ private void createClickHouseNamedCollection() { "port", config.getIntProperty(ConfigurationKey.CONNECTION_PORT), "database", config.getProperty(ConfigurationKey.CONNECTION_DATABASE), "username", config.getProperty(ConfigurationKey.CONNECTION_USERNAME), - "password", config.getProperty(ConfigurationKey.CONNECTION_PASSWORD)); + "password", config.getProperty(ConfigurationKey.CONNECTION_PASSWORD), + "connection_pool_size", "100", + "replace_query", "1"); ClickHouseSqlBuilder clickHouseSqlBuilder = new ClickHouseSqlBuilder();