Open yuklai opened 10 years ago
Not at the moment. This has been mentioned before, but at the time, the pg
package did not allow specifying pool size.
I think this has changed with newer versions of pg
so should be easy to implement.
Sorry if I wasn't clear. I was more interested in the mysql implementation of orm2. Is that the same case? Anyone know what the default is set at? Thanks again!
I don't think you weren't clear, I think what @dxg was getting at is that all drivers need to support an options to enable it. At the time that node-orm was created, pg didn't allow it, so this package didn't support it all around.
@mhuggins @dxg Sorry, I thought pg meant postgres. Would you mind clarifying? Was it because postgres didn't support these settings so orm didn't support it for other db too? Is it possible to have db specific settings? Thanks in advance!
Something like connectionLimit and acquireTimeout: https://github.com/felixge/node-mysql#user-content-pool-options
Thanks!