grpc-base-client
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -14,3 +14,4 @@ import { ChannelOptions } from '@grpc/grpc-js'; | ||
middlewares?: GrpcMiddlewares<TService>; | ||
noPanicControl?: boolean; | ||
} | ||
//# sourceMappingURL=client-config.d.ts.map |
@@ -9,3 +9,5 @@ "use strict"; | ||
function handlePanic(client, config) { | ||
client_pool_1.ClientPool.renewConnect(config.url, client); | ||
if (config.noPanicControl !== true && config.maxConnections) { | ||
client_pool_1.ClientPool.renewConnect(config.url, client); | ||
} | ||
} | ||
@@ -12,0 +14,0 @@ exports.handlePanic = handlePanic; |
{ | ||
"name": "grpc-base-client", | ||
"description": "This project is a Library base for construct gRPC clients", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26195
343