diff --git a/airbyte-workload-launcher/src/main/resources/application-oss.yml b/airbyte-workload-launcher/src/main/resources/application-oss.yml index f9871f6a1f..6fb2ef5fc5 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