FS-7346 #resolve #comment update mod_mongo driver to 1.1.0

This commit is contained in:
Chris Rienzo 2015-03-04 09:06:10 -05:00
parent 86c68d906a
commit e338b8865b
3 changed files with 4 additions and 10 deletions

View File

@ -1,15 +1,9 @@
<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); }"/>

View File

@ -129,7 +129,7 @@ Source10: http://files.freeswitch.org/downloads/libs/libmemcached-0.32.tar.gz
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}

View File

@ -3,7 +3,7 @@ include $(top_srcdir)/build/modmake.rulesam
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