@brigade/pooled-thrift-client
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -224,2 +224,3 @@ 'use strict'; | ||
connection.alive = false; | ||
pool.release(connection); | ||
reject(new ConnectionTimeoutError()); | ||
@@ -229,2 +230,3 @@ }; | ||
connection.alive = false; | ||
pool.release(connection); | ||
reject(new ConnectionClosedError()); | ||
@@ -234,2 +236,3 @@ }; | ||
connection.alive = false; | ||
pool.release(connection); | ||
reject(error); | ||
@@ -236,0 +239,0 @@ }; |
{ | ||
"name": "@brigade/pooled-thrift-client", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A Thrift client utilising a pool of service connections and improved error handling/recovery", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
30063
11
290