Skip to content

Conversation

carocad
Copy link
Contributor

@carocad carocad commented Jul 31, 2025

Summary

Allow having an idle connection value of 0 or less as this is supported by the SQL driver documented here which points here.

Does this close any open issues?

No

Other Information

In my setup we are using AWS Aurora Serverless v2. One important property of this technology is that it automatically scales the cluster depending on load. It can scale down to 0 and then we don't pay for the use of the database; which we want in order to save money.

Unfortunately devlake doesn't allow having less than 1 idle connection. This PR fixes that by removing the condition from the code and relying on the SQL driver to manage the connection pooling.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. component/framework This issue or PR relates to the framework pr-type/bug-fix This PR fixes a bug labels Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/framework This issue or PR relates to the framework pr-type/bug-fix This PR fixes a bug size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant