diff options
author | 2015-08-05 12:01:12 -0700 | |
---|---|---|
committer | 2015-08-05 12:01:12 -0700 | |
commit | 4e407ba343fb96b780ebcd4f5540260bfcea079a (patch) | |
tree | 1fc0e9ae52e4f96147f5cecbd6aa4bafbf104946 /src/core/client_config/subchannel.c | |
parent | d2e9cb3b92623c059112668517593d096f28333f (diff) | |
parent | 62ff690e4894d56470886f14f94f8b06a5fb8cff (diff) |
Merge pull request #2656 from yang-g/reconnect_branch_based_on_jitter
Connection backoff interop test client and server
Diffstat (limited to 'src/core/client_config/subchannel.c')
-rw-r--r-- | src/core/client_config/subchannel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/client_config/subchannel.c b/src/core/client_config/subchannel.c index f428b0fb6a..ca52c75beb 100644 --- a/src/core/client_config/subchannel.c +++ b/src/core/client_config/subchannel.c @@ -322,8 +322,8 @@ static void continue_connect(grpc_subchannel *c) { static void start_connect(grpc_subchannel *c) { c->backoff_delta = gpr_time_from_seconds( GRPC_SUBCHANNEL_INITIAL_CONNECT_BACKOFF_SECONDS, GPR_TIMESPAN); - c->next_attempt = gpr_time_add( - gpr_now(GPR_CLOCK_MONOTONIC), c->backoff_delta); + c->next_attempt = + gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), c->backoff_delta); continue_connect(c); } |