<configuration name="mongo.conf">
<settings>
<!--
- connection-string handles different ways to connect to mongo
- samples:
- server:port
- foo/server:port,server:port SET
+ mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]
-->
- <param name="connection-string" value="127.0.0.1:27017"/>
- <param name="max-connections" value="100"/>
- <!-- Timeout in seconds. 0 means no timeout -->
- <param name="socket-timeout" value="0"/>
+ <param name="connection-string" value="mongodb://127.0.0.1:27017/?connectTimeoutMS=10000"/>
<!--
<param name="map" value="function() { emit(this.a, 1); }"/>
Source11: http://files.freeswitch.org/downloads/libs/json-c-0.9.tar.gz
Source12: http://files.freeswitch.org/downloads/libs/opus-1.1-p2.tar.gz
Source13: http://files.freeswitch.org/downloads/libs/v8-3.24.14.tar.bz2
-Source14: http://files.freeswitch.org/downloads/libs/mongo-c-driver-0.92.2.tar.gz
+Source14: http://files.freeswitch.org/downloads/libs/mongo-c-driver-1.1.0.tar.gz
Prefix: %{prefix}
AUTOMAKE_OPTIONS += foreign
MODNAME=mod_mongo
-MONGOC=mongo-c-driver-0.92.2
+MONGOC=mongo-c-driver-1.1.0
MONGOC_DIR=$(switch_srcdir)/libs/$(MONGOC)
MONGOC_BUILDDIR=$(switch_builddir)/libs/$(MONGOC)
MONGOC_LA=$(MONGOC_BUILDDIR)/libmongoc-priv.la