This was [originally reported](https://github.com/datamapper/dm-core/issues/230) against the dm-core project by @kapso, I figured I'd open up the issue here since I can't seem to find one already. It's [understandable](https://github.com/datamapper/do/blob/master/data_objects/lib/data_objects/pooling.rb#L128) why the pool size is always 8, but I really think that should be configurable :) I'm experimenting with a monkey-patch cited in [this StackOverflow](http://stackoverflow.com/questions/12865104/datamapper-connection-pool-logic) post, which is roughly ``` ruby DB_POOL_SIZE = 12 class DataObjects::Pooling::Pool alias :initialize_old :initialize def initialize(max_size, resource, args) initialize_old(DB_POOLSIZE, resource, args) end end ``` I figure if this is more configurable, then dm-core can support configuring it, and help me avoid this whole monkey-patching business
This was originally reported against the dm-core project by @kapso, I figured I'd open up the issue here since I can't seem to find one already.
It's understandable why the pool size is always 8, but I really think that should be configurable :)
I'm experimenting with a monkey-patch cited in this StackOverflow post, which is roughly
I figure if this is more configurable, then dm-core can support configuring it, and help me avoid this whole monkey-patching business