Skip to content
Snippets Groups Projects
Commit b358c41c authored by Craig Tiller's avatar Craig Tiller
Browse files

Move clock type

parent 044d1531
No related branches found
No related tags found
No related merge requests found
...@@ -172,8 +172,9 @@ void grpc_channel_watch_connectivity_state( ...@@ -172,8 +172,9 @@ void grpc_channel_watch_connectivity_state(
w->tag = tag; w->tag = tag;
w->channel = channel; w->channel = channel;
grpc_alarm_init(&w->alarm, deadline, timeout_complete, w, grpc_alarm_init(
gpr_now(GPR_CLOCK_REALTIME)); &w->alarm, gpr_convert_clock_type(deadline, GPR_CLOCK_MONOTONIC),
timeout_complete, w, gpr_now(GPR_CLOCK_MONOTONIC));
if (client_channel_elem->filter != &grpc_client_channel_filter) { if (client_channel_elem->filter != &grpc_client_channel_filter) {
gpr_log(GPR_ERROR, gpr_log(GPR_ERROR,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment