Skip to content
Snippets Groups Projects
Commit 78a9c1df authored by Craig Tiller's avatar Craig Tiller Committed by GitHub
Browse files

Merge pull request #36 from muxi/adjustable_window_objc

Clean up code
parents ba03dd24 1674f650
No related branches found
No related tags found
No related merge requests found
...@@ -219,8 +219,8 @@ static NSMutableDictionary *kHostCache; ...@@ -219,8 +219,8 @@ static NSMutableDictionary *kHostCache;
if (_responseSizeLimitOverride) { if (_responseSizeLimitOverride) {
args[@GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH] = _responseSizeLimitOverride; args[@GRPC_ARG_MAX_RECEIVE_MESSAGE_LENGTH] = _responseSizeLimitOverride;
} }
NSNumber *initialBackoff = [NSNumber numberWithInt:10000]; // Use 10000ms initial backoff time for correct behavior on bad/slow networks
args[@GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS] = initialBackoff; args[@GRPC_ARG_INITIAL_RECONNECT_BACKOFF_MS] = @10000;
return args; return args;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment