Increase the request timeout to 7 seconds to give a bit more time for slow app lists to come in

This commit is contained in:
Cameron Gutman
2015-11-11 17:53:13 -08:00
parent 20d66336a7
commit 82293a08b6

View File

@@ -100,8 +100,8 @@ static const NSString* HTTPS_PORT = @"47984";
NSURL* url = [[NSURL alloc] initWithString:urlString];
NSMutableURLRequest* request = [NSMutableURLRequest requestWithURL:url];
if (normalTimeout) {
// Timeout the request after 5 seconds
[request setTimeoutInterval:5];
// Timeout the request after 7 seconds
[request setTimeoutInterval:7];
}
else {
// Timeout the request after 60 seconds