mirror of https://github.com/grpc/grpc-node.git
grpc-js: Unref deadline filter timer optionally
This commit is contained in:
parent
2ca96a322f
commit
625610209b
|
@ -66,7 +66,7 @@ export class DeadlineFilter extends BaseFilter implements Filter {
|
|||
'Deadline exceeded'
|
||||
);
|
||||
}, timeout);
|
||||
this.timer.unref();
|
||||
this.timer.unref?.();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue