Skip to content

Commit

Permalink
fix: add datasources.config for airbyte-workload-launcher like others
Browse files Browse the repository at this point in the history
  • Loading branch information
vr committed Nov 8, 2024
1 parent 63da8b5 commit 1364dbb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions airbyte-workload-launcher/src/main/resources/application-oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1364dbb

Please sign in to comment.