Merge pull request #36 from muxi/adjustable_window_objc

Clean up code
pull/8235/head
Craig Tiller 8 years ago committed by GitHub
commit 78a9c1df3f
  1. 4
      src/objective-c/GRPCClient/private/GRPCHost.m

@ -219,8 +219,8 @@ static NSMutableDictionary *kHostCache;
if (_responseSizeLimitOverride) {
args[@GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH] = _responseSizeLimitOverride;
}
NSNumber *initialBackoff = [NSNumber numberWithInt:10000];
args[@GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS] = initialBackoff;
// Use 10000ms initial backoff time for correct behavior on bad/slow networks
args[@GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS] = @10000;
return args;
}

Loading…
Cancel
Save