Skip to content

Commit

Permalink
Merge pull request grpc#35 from muxi/adjustable_window_objc
Browse files Browse the repository at this point in the history
Set initial backoff to 10000ms when creating channel in Objective C
  • Loading branch information
ctiller authored Sep 29, 2016
2 parents 62d66b8 + dcbf544 commit ba03dd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/objective-c/GRPCClient/private/GRPCHost.m
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ - (NSDictionary *)channelArgs {
if (_responseSizeLimitOverride) {
args[@GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH] = _responseSizeLimitOverride;
}
NSNumber *initialBackoff = [NSNumber numberWithInt:10000];
args[@GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS] = initialBackoff;
return args;
}

Expand Down

0 comments on commit ba03dd2

Please sign in to comment.