sessionstore
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -46,4 +46,13 @@ // lib/databases/mongoDb.js v0.0.1 | ||
var defaultOpt = { | ||
auto_reconnect: true, | ||
ssl: false | ||
}; | ||
options.options = options.options || {}; | ||
_.defaults(options.options, defaultOpt); | ||
var self = this; | ||
var server = new mongo.Server(options.host, options.port, { auto_reconnect: true }); | ||
var server = new mongo.Server(options.host, options.port, options.options); | ||
new mongo.Db(options.dbName , server, {}).open(function(err, client) { | ||
@@ -50,0 +59,0 @@ if (err) { |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13176
237