mirror of https://github.com/grpc/grpc-node.git
Implement cancellation propagation, define auth propagation
This commit is contained in:
parent
eb6b0ede34
commit
70c8bfd09e
|
@ -511,7 +511,7 @@ NAN_METHOD(Call::New) {
|
||||||
double deadline = args[2]->NumberValue();
|
double deadline = args[2]->NumberValue();
|
||||||
grpc_channel *wrapped_channel = channel->GetWrappedChannel();
|
grpc_channel *wrapped_channel = channel->GetWrappedChannel();
|
||||||
grpc_call *wrapped_call = grpc_channel_create_call(
|
grpc_call *wrapped_call = grpc_channel_create_call(
|
||||||
wrapped_channel, NULL, GRPC_INHERIT_DEFAULTS,
|
wrapped_channel, NULL, GRPC_PROPAGATE_DEFAULTS,
|
||||||
CompletionQueueAsyncWorker::GetQueue(), *method, channel->GetHost(),
|
CompletionQueueAsyncWorker::GetQueue(), *method, channel->GetHost(),
|
||||||
MillisecondsToTimespec(deadline));
|
MillisecondsToTimespec(deadline));
|
||||||
call = new Call(wrapped_call);
|
call = new Call(wrapped_call);
|
||||||
|
|
Loading…
Reference in New Issue