Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

MongoOptions Support fixes #36 #37

Merged
merged 3 commits into from
Feb 6, 2013
Merged

MongoOptions Support fixes #36 #37

merged 3 commits into from
Feb 6, 2013

Conversation

ktonga
Copy link

@ktonga ktonga commented Jan 22, 2013

I've implemented, in a separate Object, the loading of custom mongo options from a config node under mongo source in application.config. I really needed to increase the number of connections per host as I'm using the plugging in a web app with a high throughput and it was throwing a lot of "Out of semaphores to get db connection" exceptions all the time.
In the plugin I create a MongoConnection with MongoOptions only if some is present in the configuration.
I've also created the proper tests for all the code I've added.

Thank you for creating such a nice and useful plugin!

Gaston M. Tonietti
@ktonga

leon added a commit that referenced this pull request Feb 6, 2013
MongoOptions Support fixes #36
@leon leon merged commit 5b0543a into leon:master Feb 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants