sessionstore
Advanced tools
Comparing version 1.2.16 to 1.2.17
@@ -46,3 +46,2 @@ 'use strict'; | ||
var defaultOpt = { | ||
auto_reconnect: false, | ||
ssl: false | ||
@@ -53,3 +52,9 @@ }; | ||
_.defaults(options.options, defaultOpt); | ||
if (isNew) { | ||
defaultOpt.autoReconnect = false; | ||
_.defaults(options, defaultOpt); | ||
} else { | ||
defaultOpt.auto_reconnect = false; | ||
_.defaults(options.options, defaultOpt); | ||
} | ||
@@ -77,3 +82,3 @@ this.options = options; | ||
var memberString = _(members).map(function(m) { return m.host + ':' + m.port }); | ||
var memberString = _(members).map(function(m) { return m.host + ':' + m.port; }); | ||
var authString = options.username && options.password | ||
@@ -80,0 +85,0 @@ ? options.username + ':' + options.password + '@' |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "1.2.16", | ||
"version": "1.2.17", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
### [v1.2.17](https://github.com/adrai/sessionstore/compare/v1.2.16...v1.2.17) | ||
- fix for new mongodb driver | ||
### [v1.2.16](https://github.com/adrai/sessionstore/compare/v1.2.15...v1.2.16) | ||
@@ -2,0 +5,0 @@ - recover elasticsearch connection after temp ping error [#39](https://github.com/adrai/sessionstore/issues/39) [#40](https://github.com/adrai/sessionstore/pull/40) thanks to [ewjmulder](https://github.com/ewjmulder) |
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
44498
1114