From b358c41c7e901e170de7621c682b845469f4f667 Mon Sep 17 00:00:00 2001
From: Craig Tiller <craig.tiller@gmail.com>
Date: Wed, 22 Jul 2015 17:16:49 -0700
Subject: [PATCH] Move clock type

---
 src/core/surface/channel_connectivity.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/core/surface/channel_connectivity.c b/src/core/surface/channel_connectivity.c
index dd12ff5611..b6ea86d730 100644
--- a/src/core/surface/channel_connectivity.c
+++ b/src/core/surface/channel_connectivity.c
@@ -172,8 +172,9 @@ void grpc_channel_watch_connectivity_state(
   w->tag = tag;
   w->channel = channel;
 
-  grpc_alarm_init(&w->alarm, deadline, timeout_complete, w,
-                  gpr_now(GPR_CLOCK_REALTIME));
+  grpc_alarm_init(
+      &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) {
     gpr_log(GPR_ERROR,
-- 
GitLab