mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
fix(microservices): enable grpc option value to accept 0
This commit is contained in:
@@ -125,7 +125,7 @@ export class ClientGrpcProxy extends ClientProxy implements ClientGrpc {
|
||||
this.options.keepalive,
|
||||
)) {
|
||||
const key = keepaliveKeys[optionKey];
|
||||
if (!key) {
|
||||
if (key === undefined) {
|
||||
continue;
|
||||
}
|
||||
keepaliveOptions[key] = optionValue;
|
||||
|
||||
Reference in New Issue
Block a user