@@ -93,7 +93,7 @@ export class ClientPool<T extends object> {
9393 private readonly maxIdleClients : number ,
9494 private readonly clientFactory : ( requiresGrpc : boolean ) => T ,
9595 private readonly clientDestructor : ( client : T ) => Promise < void > = ( ) =>
96- Promise . resolve ( )
96+ Promise . resolve ( ) ,
9797 ) {
9898 this . lazyLogStringForAllClientIds = new LazyLogStringForAllClientIds ( {
9999 activeClients : this . activeClients ,
@@ -141,7 +141,7 @@ export class ClientPool<T extends object> {
141141 requestTag ,
142142 'Re-using existing client [%s] with %s remaining operations' ,
143143 selectedClientId ,
144- this . concurrentOperationLimit - selectedClientRequestCount
144+ this . concurrentOperationLimit - selectedClientRequestCount ,
145145 ) ;
146146 } else {
147147 const newClientId = 'cli' + generateClientId ( ) ;
@@ -150,7 +150,7 @@ export class ClientPool<T extends object> {
150150 requestTag ,
151151 'Creating a new client [%s] (requiresGrpc: %s)' ,
152152 newClientId ,
153- requiresGrpc
153+ requiresGrpc ,
154154 ) ;
155155 selectedClient = this . clientFactory ( requiresGrpc ) ;
156156 this . clientIdByClient . set ( selectedClient , newClientId ) ;
@@ -193,7 +193,7 @@ export class ClientPool<T extends object> {
193193 requestTag ,
194194 'Garbage collecting client [%s] (%s)' ,
195195 clientId ,
196- this . lazyLogStringForAllClientIds
196+ this . lazyLogStringForAllClientIds ,
197197 ) ;
198198 this . activeClients . delete ( client ) ;
199199 this . failedClients . delete ( client ) ;
@@ -203,7 +203,7 @@ export class ClientPool<T extends object> {
203203 requestTag ,
204204 'Garbage collected client [%s] (%s)' ,
205205 clientId ,
206- this . lazyLogStringForAllClientIds
206+ this . lazyLogStringForAllClientIds ,
207207 ) ;
208208 }
209209 }
@@ -337,7 +337,7 @@ export class ClientPool<T extends object> {
337337 /* requestTag= */ null ,
338338 'Waiting for %s pending operations to complete before terminating (%s)' ,
339339 this . opCount ,
340- this . lazyLogStringForAllClientIds
340+ this . lazyLogStringForAllClientIds ,
341341 ) ;
342342 await this . terminateDeferred . promise ;
343343 }
0 commit comments