aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/client_config/subchannel.c
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-07-17 15:39:28 -0700
committerGravatar Nicolas Noble <nicolasnoble@users.noreply.github.com>2015-07-17 15:39:28 -0700
commite9881bbaf3d53aa80099c42c80fb3331ff38270a (patch)
tree1e82a6cf2e32204f9fae78ccc12a936f7471e084 /src/core/client_config/subchannel.c
parent2d883e723178007a33dd88e6f9c0a1e5f7be3e13 (diff)
parente086725e4cc8c750889ea2c6051795f7d1ecdeca (diff)
Merge pull request #2403 from ctiller/no-worries-i-can-wait
Add a clock_type field to gpr_timespec
Diffstat (limited to 'src/core/client_config/subchannel.c')
-rw-r--r--src/core/client_config/subchannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c
index 8cdad1015f..35f172683a 100644
--- a/src/core/client_config/subchannel.c
+++ b/src/core/client_config/subchannel.c
@@ -302,7 +302,7 @@ static void continue_connect(grpc_subchannel *c) {
static void start_connect(grpc_subchannel *c) {
gpr_timespec now = gpr_now(GPR_CLOCK_REALTIME);
c->next_attempt = now;
- c->backoff_delta = gpr_time_from_seconds(1);
+ c->backoff_delta = gpr_time_from_seconds(1, GPR_TIMESPAN);
continue_connect(c);
}