feat: make mariadb max pool connections controllable via env#6386
feat: make mariadb max pool connections controllable via env#6386CommanderStorm merged 16 commits intolouislam:masterfrom
Conversation
CommanderStorm
left a comment
There was a problem hiding this comment.
Could you please make sure that all environment variables stick to our existing naming scheme
I am also not entirely sure if the min pool size should be configurable. What is the effect there?
It's now following standards and i removed the min connections env |
|
I think it needs some validations. Like checking a empty string, |
CommanderStorm
left a comment
There was a problem hiding this comment.
LGTM now, thanks 🙏
Should be uncontroversial and help the few people on a limited pool Mariadb hoster
Head branch was pushed to by a user without write access
|
@CommanderStorm i added validation as Louis said |
|
Plus, you don't need to call |
|
Changes:
|
|
@CommanderStorm This is ready |
CommanderStorm
left a comment
There was a problem hiding this comment.
The code isn’t yet at a level where I can merge it.
I’ve given more detailed feedback this time - please incorporate those changes, and then we can move forward.
CommanderStorm
left a comment
There was a problem hiding this comment.
I still think that the code quality does not 100% meet what I would like the code to be in terms of readability.
What do you think of my variant of writing ths
CommanderStorm
left a comment
There was a problem hiding this comment.
LGTM now with my change
📋 Overview
I saw an issue saying that mariadb max connections should be controllable through env variables so this PR fixes that with a new env variable:
🛠️ Type of change
📄 Checklist
📷 Screenshots or Visual Changes