Skip to content

Commit

Permalink
Set Hikari leak detection logging to 40 seconds. (#7065)
Browse files Browse the repository at this point in the history
This was previously 5 mins. Since we get paged after a few mins, this was never triggered and we always had false negatives.

Set this to 40 seconds. This is higher than the 30 sec get connection timeout currently configured, and lower than our page settings.
  • Loading branch information
davinchia committed Jun 6, 2023
1 parent 7ef77bd commit 3708e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ datasources:
driverClassName: org.postgresql.Driver
username: ${DATABASE_USER}
password: ${DATABASE_PASSWORD}
leak-detection-threshold: 600001
leak-detection-threshold: 40000 # This should be slightly higher than the connection-timeout setting but not too high to avoid false positives and negatives.

endpoints:
beans:
Expand Down

0 comments on commit 3708e1e

Please sign in to comment.