]> git.saurik.com Git - cydia.git/commitdiff
Add timeout of 10s to Source icons.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 26 Mar 2011 08:01:48 +0000 (01:01 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 26 Mar 2011 08:01:48 +0000 (01:01 -0700)
MobileCydia.mm

index 2d08b47a289358dc371c2a811e62d5650801f761..a1a9ede637e93d6c7b92e920b8560a7c82ddc584 100644 (file)
@@ -8425,8 +8425,8 @@ static void HomeControllerReachabilityCallback(SCNetworkReachabilityRef reachabi
     if (NSData *data = [NSURLConnection
         sendSynchronousRequest:[NSURLRequest
             requestWithURL:url
-            //cachePolicy:NSURLRequestUseProtocolCachePolicy
-            //timeoutInterval:5
+            cachePolicy:NSURLRequestUseProtocolCachePolicy
+            timeoutInterval:10
         ]
 
         returningResponse:NULL