aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-10-03 12:58:02 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-10-03 12:58:02 -0700
commit1bb0ce5e23126692169765496221c58da7310a2b (patch)
tree843cd832adfff4898c13b20b4f05f7b312c0eb16 /src/objective-c/GRPCClient/private
parente2180f069d25e7572471cd0336db6a06c0ea848d (diff)
parent787d58f9e36487d0703425b9b1d30dd658c42728 (diff)
Merge branch 'direct-calls' into buffer_pools_for_realsies
Diffstat (limited to 'src/objective-c/GRPCClient/private')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCHost.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCHost.m b/src/objective-c/GRPCClient/private/GRPCHost.m
index 1159aac7a7..f8634b448e 100644
--- a/src/objective-c/GRPCClient/private/GRPCHost.m
+++ b/src/objective-c/GRPCClient/private/GRPCHost.m
@@ -219,6 +219,8 @@ static NSMutableDictionary *kHostCache;
if (_responseSizeLimitOverride) {
args[@GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH] = _responseSizeLimitOverride;
}
+ // Use 10000ms initial backoff time for correct behavior on bad/slow networks
+ args[@GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS] = @10000;
return args;
}