mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Merge pull request #1303 from murgatroid99/grpc-js_timer_unref_2
grpc-js: Unref deadline filter timer optionally
This commit is contained in:
commit
a89b8f9fcc
@ -66,7 +66,7 @@ export class DeadlineFilter extends BaseFilter implements Filter {
|
||||
'Deadline exceeded'
|
||||
);
|
||||
}, timeout);
|
||||
this.timer.unref();
|
||||
this.timer.unref?.();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user