Skip to content

Min connections for pooling #428

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

Closed
zekenie opened this issue Mar 26, 2013 · 3 comments
Closed

Min connections for pooling #428

zekenie opened this issue Mar 26, 2013 · 3 comments

Comments

@zekenie
Copy link

zekenie commented Mar 26, 2013

Is there any plans for a minimum connections in pool option?

@NatalieWolfe
Copy link
Collaborator

Can you provide a use case for this? I don't see any benefits from this. Letting the pool naturally fill will keep your resource usage lower and once it is filled there is no difference between pre-filling and usage-based filling.

@ajostergaard
Copy link

The typical use cases are 1/. dealing with situations where connection setup might be slow (db in the cloud somewhere perhaps?!?) and 2/. having a way to be sure that the DB is connected i.e. for server health - green light when we have a DB connection, red light otherwise.

@dougwilson
Copy link
Member

PR #505 implements this though minIdle and initialSize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants