diff options
author | Craig Tiller <ctiller@google.com> | 2017-09-20 16:01:19 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-09-20 16:01:19 -0700 |
commit | b6034896292085ac942887c0bce106278a4797a8 (patch) | |
tree | 504b9687d2d756ca96e2e0f7c342578055fd1674 | |
parent | b668f5bc19742083963f11c80b204d81d727b116 (diff) |
Use monotonic times (as we used to)
-rw-r--r-- | src/core/lib/surface/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/surface/server.c b/src/core/lib/surface/server.c index 1d3980eb23..dd09cb91de 100644 --- a/src/core/lib/surface/server.c +++ b/src/core/lib/surface/server.c @@ -493,12 +493,12 @@ static void publish_call(grpc_exec_ctx *exec_ctx, grpc_server *server, rc->data.batch.details->host = grpc_slice_ref_internal(calld->host); rc->data.batch.details->method = grpc_slice_ref_internal(calld->path); rc->data.batch.details->deadline = - grpc_millis_to_timespec(calld->deadline, GPR_CLOCK_REALTIME); + grpc_millis_to_timespec(calld->deadline, GPR_CLOCK_MONOTONIC); rc->data.batch.details->flags = calld->recv_initial_metadata_flags; break; case REGISTERED_CALL: *rc->data.registered.deadline = - grpc_millis_to_timespec(calld->deadline, GPR_CLOCK_REALTIME); + grpc_millis_to_timespec(calld->deadline, GPR_CLOCK_MONOTONIC); if (rc->data.registered.optional_payload) { *rc->data.registered.optional_payload = calld->payload; calld->payload = NULL; |