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:
parent
20d66336a7
commit
82293a08b6
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue