Comparing version 1.6.22 to 1.6.23
@@ -113,3 +113,3 @@ 'use strict'; | ||
console.error((new Error ('Heartbeat timeouted after ' + gracePeriod + 'ms (mongodb)')).stack); | ||
self.db.close(function () {}); | ||
self.disconnect(); | ||
} | ||
@@ -116,0 +116,0 @@ }, gracePeriod); |
@@ -134,5 +134,3 @@ 'use strict'; | ||
console.error(err.stack || err); | ||
if (self.client) { | ||
self.client.end(true); | ||
} | ||
self.disconnect(); | ||
} | ||
@@ -139,0 +137,0 @@ }); |
@@ -115,3 +115,3 @@ 'use strict'; | ||
console.error((new Error ('Heartbeat timeouted after ' + gracePeriod + 'ms (mongodb)')).stack); | ||
self.db.close(function () {}); | ||
self.disconnect(); | ||
} | ||
@@ -118,0 +118,0 @@ }, gracePeriod); |
@@ -135,5 +135,3 @@ 'use strict'; | ||
console.error(err.stack || err); | ||
if (self.client) { | ||
self.client.end(true); | ||
} | ||
self.disconnect(); | ||
} | ||
@@ -140,0 +138,0 @@ }); |
{ | ||
"author": "adrai", | ||
"name": "cqrs-saga", | ||
"version": "1.6.22", | ||
"version": "1.6.23", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
## [v1.6.23](https://github.com/adrai/node-cqrs-saga/compare/v1.6.22...v1.6.23) | ||
- redis, mongodb: call disconnect on ping error | ||
## [v1.6.22](https://github.com/adrai/node-cqrs-saga/compare/v1.6.21...v1.6.22) | ||
@@ -2,0 +5,0 @@ - Fix events getting lost at high concurrency [#33](https://github.com/adrai/node-cqrs-saga/pull/#33) thanks to [hilkeheremans](https://github.com/hilkeheremans) |
166296
4476