Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

initialPoolSize setting #21

Open
geakstr opened this issue Sep 2, 2014 · 3 comments
Open

initialPoolSize setting #21

geakstr opened this issue Sep 2, 2014 · 3 comments

Comments

@geakstr
Copy link

geakstr commented Sep 2, 2014

Hello. I need to set c3p0.initialPoolSize to 1. Can I do this?

@timyates
Copy link
Owner

timyates commented Sep 2, 2014

Not currently, it would need to be added to the config section of the json and the method that creates the pool... Pull requests welcome 😄

Or I'll take a look when I get a chance

@smiklosovic
Copy link
Contributor

is this still relevant? there is not initialPoolSize among these (1). Do not max and min pool values already do this?

(1) https://github.com/timyates/mod-jdbc-persistor/blob/master/src/main/java/com/bloidonia/vertx/mods/JdbcProcessor.java#L134-L144

@geakstr
Copy link
Author

geakstr commented Jun 2, 2015

When I tried to do this (I set min = max = 1) number of pools was equals 3 (default value of InitialPoolSize)

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

No branches or pull requests

3 participants