more general way to connect to mongo

This commit is contained in:
Tamas Cseke committed 2011-09-12 09:16:56 +02:00
1 parent 2fa8f11002
commit 8547c5c995
4 files changed
+45 -30

No files matched your search

+7 -1
View File
@@ -1,6 +1,12 @@
<configuration name="mongo.conf">
<settings>
<param name="host" value="127.0.0.1:27017"/>
<!--
connection-string handles different ways to connect to mongo
samples:
server:port
foo/server:port,server:port SET
-->
<param name="connection-string" value="127.0.0.1:27017"/>
<param name="min-connections" value="10"/>
<param name="max-connections" value="100"/>