From a847c2101016d46f0cc5f2645d11ed3651dcc448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Commowick?= Date: Thu, 7 Nov 2024 18:12:27 +0100 Subject: [PATCH] fix: add datasources.config for airbyte-workload-launcher like others --- .../src/main/resources/application-oss.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/airbyte-workload-launcher/src/main/resources/application-oss.yml b/airbyte-workload-launcher/src/main/resources/application-oss.yml index f9871f6a1f6..6fb2ef5fc55 100644 --- a/airbyte-workload-launcher/src/main/resources/application-oss.yml +++ b/airbyte-workload-launcher/src/main/resources/application-oss.yml @@ -7,6 +7,18 @@ airbyte: persistence: ${SECRET_PERSISTENCE:TESTING_CONFIG_DB_TABLE} datasources: + config: + connection-test-query: SELECT 1 + connection-timeout: 30000 + maximum-pool-size: ${CONFIG_DB_MAX_POOL_SIZE:10} + minimum-idle: 0 + idle-timeout: 600000 + initialization-fail-timeout: -1 # Disable fail fast checking to avoid issues due to other pods not being started in time + url: ${DATABASE_URL} + driverClassName: org.postgresql.Driver + username: ${DATABASE_USER} + password: ${DATABASE_PASSWORD} + leak-detection-threshold: 40000 # This should be slightly higher than the connection-timeout setting but not too high to avoid false positives and negatives. local-secrets: connection-test-query: SELECT 1 connection-timeout: 30000