@google-cloud/firestore
Advanced tools
Comparing version 4.8.0 to 4.8.1
@@ -184,4 +184,3 @@ "use strict"; | ||
var _a; | ||
await this.release(requestTag, client); | ||
if ((_a = err.message) === null || _a === void 0 ? void 0 : _a.indexOf('RST_STREAM')) { | ||
if ((_a = err.message) === null || _a === void 0 ? void 0 : _a.match(/RST_STREAM/)) { | ||
// Once a client has seen a RST_STREAM error, the GRPC channel can | ||
@@ -192,2 +191,3 @@ // no longer be used. We mark the client as failed, which ensures that | ||
} | ||
await this.release(requestTag, client); | ||
return Promise.reject(err); | ||
@@ -194,0 +194,0 @@ }) |
@@ -7,2 +7,9 @@ # Changelog | ||
### [4.8.1](https://www.github.com/googleapis/nodejs-firestore/compare/v4.8.0...v4.8.1) (2020-12-16) | ||
### Bug Fixes | ||
* release clients that received a RST_STREAM error ([#1380](https://www.github.com/googleapis/nodejs-firestore/issues/1380)) ([0296dd6](https://www.github.com/googleapis/nodejs-firestore/commit/0296dd65d135f5b809547c69dec03dcc8f4bd071)) | ||
## [4.8.0](https://www.github.com/googleapis/nodejs-firestore/compare/v4.7.2...v4.8.0) (2020-12-03) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/firestore", | ||
"description": "Firestore Client Library for Node.js", | ||
"version": "4.8.0", | ||
"version": "4.8.1", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "author": "Google Inc.", |
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
4515370
111
84193