-
Notifications
You must be signed in to change notification settings - Fork 153
Datamapper & connection pool logic #232
Comments
Can you post the database.yml with credentials stripped? |
was this ever figured out? How do you set the datamapper pool size in the settings? |
All of that stuff gets set down in DataObjects, and i can't remember -T On Fri, Aug 23, 2013 at 11:48 AM, nmccready [email protected]:
|
I found the code, but is the pool size and number of threads passed in via the database.yml file? IE is there pool: 100 setting? |
There is no mention of pool in dm-rails either: https://github.com/datamapper/dm-rails The connection pooling appears to be done on a per-connection/adapter basis: https://github.com/datamapper/do/search?utf8=%E2%9C%93&q=pool_size |
@nmccready To answer your question, it appears that the answer is no. I've opened an issue in DO to add the basic support for something like this. But I don't know if/when it will be done. |
So I am trying to use datamapper inside my Rails 3.2.8 app.
I have a
config/initializers/dm.rb
where I load the database.ymlI have a pool property set in the database.yml file, but I noticed that datamapper does not use that. It has this magic number
8
which it uses, where is this number coming from? And how can I configure pool settings for datamapper.The text was updated successfully, but these errors were encountered: