Turns out there is a problem when using the mongo uri string.

OpenBD nightly 3.2 and MongoDB 3.2

standard connection works fine, after 5 mins of no activity it closes the 
connection pool and reconnects when "dsn" is called.

if ( !MongoIsValid(name="dsn") )
MongoRegister( name="dsn", server="localhost", db="testdb" );

When using a mongo uri string it also works fine, after 5 mins of no 
activity it closes the connection pool but *does not *reconnect
when "dsn" is called throwing an unknown server error.

if ( !MongoIsValid(name="dsn") )
MongoRegister( name="dsn", server="localhost", 
mongouri="mongodb://localhost:27017" );

Both connection methods work with OpenBD 3.1 and MongoDB 2.6

thanks,
Mark.

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to