Clean up code

pull/8402/head
Muxi Yan 8 years ago
parent 45c8c30ad3
commit 31c3e01ce9
  1. 4
      src/objective-c/GRPCClient/private/GRPCHost.m

@ -219,8 +219,8 @@ static NSMutableDictionary *kHostCache;
if (_responseSizeLimitOverride) {
args[@GRPC_ARG_MAX_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