Skip to content

Commit 96767e0

Browse files
committed
fix: add datasources.config for airbyte-workload-launcher like others
1 parent 728d18d commit 96767e0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

airbyte-workload-launcher/src/main/resources/application-oss.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ airbyte:
77
persistence: ${SECRET_PERSISTENCE:TESTING_CONFIG_DB_TABLE}
88

99
datasources:
10+
config:
11+
connection-test-query: SELECT 1
12+
connection-timeout: 30000
13+
maximum-pool-size: ${CONFIG_DB_MAX_POOL_SIZE:10}
14+
minimum-idle: 0
15+
idle-timeout: 600000
16+
initialization-fail-timeout: -1 # Disable fail fast checking to avoid issues due to other pods not being started in time
17+
url: ${DATABASE_URL}
18+
driverClassName: org.postgresql.Driver
19+
username: ${DATABASE_USER}
20+
password: ${DATABASE_PASSWORD}
21+
leak-detection-threshold: 40000 # This should be slightly higher than the connection-timeout setting but not too high to avoid false positives and negatives.
1022
local-secrets:
1123
connection-test-query: SELECT 1
1224
connection-timeout: 30000

0 commit comments

Comments
 (0)