Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add datasources.config for airbyte-workload-launcher to fix breaking JDBC connection #371

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading