-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Expose PoolOptions for reading #2113
Conversation
246b1c0
to
5f11498
Compare
Force pushed because apparently my branch was on top of the outdated |
ea8c691
to
c7282fe
Compare
@FSMaxB current development is on the |
This allows reading back PoolOptions that have already been set.
c7282fe
to
3ebb856
Compare
@abonander done! |
972272a
to
3ebb856
Compare
@abonander If |
This allows reading back PoolOptions that have already been set.
This allows reading back PoolOptions that have already been set.
This allows reading back PoolOptions that have already been set.
This allows reading back
PoolOptions
that have already been set.My concrete use-case is querying the maximum connections from a context where I regularly collect application performance metrics from a
PgPool
. Currently I can only see how many connections there are and how many of them are active/idle, but in order to graph this against the totally available connections, I would have to pass through the initial configuration somehow. It's much easier to expose them from thePoolOptions
directly.