Skip to content

Commit

Permalink
fix clientConfig
Browse files Browse the repository at this point in the history
Signed-off-by: ryjiang <[email protected]>
  • Loading branch information
shanghaikid committed Dec 12, 2023
1 parent cea32b3 commit 40ca6d2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions milvus/grpc/GrpcClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export class GRPCClient extends User {
) {
// setup the configuration
super(configOrAddress, ssl, username, password, channelOptions);


// Get the gRPC service for Milvus
const MilvusService = getGRPCService({
Expand Down Expand Up @@ -133,9 +132,9 @@ export class GRPCClient extends User {
});
},
},
{
max: this.config.pool?.max ?? DEFAULT_POOL_MAX, // maximum size of the pool
min: this.config.pool?.min ?? DEFAULT_POOL_MIN, // minimum size of the pool
this.config.pool ?? {
min: DEFAULT_POOL_MIN,
max: DEFAULT_POOL_MAX,
}
);
}
Expand Down

0 comments on commit 40ca6d2

Please sign in to comment.