sessionstore
Advanced tools
Comparing version 1.2.14 to 1.2.15
@@ -134,3 +134,3 @@ 'use strict'; | ||
console.error((new Error ('Heartbeat timeouted after ' + gracePeriod + 'ms (mongodb)')).stack); | ||
self.db.close(function () {}); | ||
self.disconnect(); | ||
} | ||
@@ -137,0 +137,0 @@ }, gracePeriod); |
@@ -127,5 +127,3 @@ 'use strict'; | ||
console.error((new Error ('Heartbeat timeouted after ' + gracePeriod + 'ms (redis)')).stack); | ||
if (self.client) { | ||
self.client.end(true); | ||
} | ||
self.disconnect(); | ||
} | ||
@@ -132,0 +130,0 @@ }, gracePeriod); |
{ | ||
"author": "adrai", | ||
"name": "sessionstore", | ||
"version": "1.2.14", | ||
"version": "1.2.15", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
### [v1.2.15](https://github.com/adrai/sessionstore/compare/v1.2.14...v1.2.15) | ||
- redis, mongodb: call disconnect on ping error | ||
### [v1.2.14](https://github.com/adrai/sessionstore/compare/v1.2.13...v1.2.14) | ||
@@ -2,0 +5,0 @@ - Support mongo connection string |
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
43663
1103