aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-07-08 15:19:06 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-07-08 15:19:06 -0700
commit33ab1829a54db3949df483ed44b9c59ab9fb2d84 (patch)
tree50666b1b25c92113f7824463edf13c273e2c4808 /src
parentc22e31fb053d7229aed69e43972cf0c94817a841 (diff)
Convert time to monotonic internally
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/surface/call.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c
index e5668be47f..fc9df76dc1 100644
--- a/src/core/lib/surface/call.c
+++ b/src/core/lib/surface/call.c
@@ -259,7 +259,8 @@ grpc_call *grpc_call_create(
call->metadata_batch[i][j].deadline = gpr_inf_future(GPR_CLOCK_MONOTONIC);
}
}
- call->send_deadline = send_deadline;
+ call->send_deadline =
+ gpr_convert_clock_type(send_deadline, GPR_CLOCK_MONOTONIC);
GRPC_CHANNEL_INTERNAL_REF(channel, "call");
/* initial refcount dropped by grpc_call_destroy */
grpc_call_stack_init(&exec_ctx, channel_stack, 1, destroy_call, call,