set the favicon timeout to 30 seconds from 10 seconds

This commit is contained in:
Mitchell Livingston 2009-09-25 01:34:10 +00:00
parent 44d7373b60
commit 5024da259d
1 changed files with 1 additions and 1 deletions

View File

@ -960,7 +960,7 @@ typedef enum
NSURL * favIconUrl = [NSURL URLWithString: [baseAddress stringByAppendingPathComponent: @"favicon.ico"]];
NSURLRequest * request = [NSURLRequest requestWithURL: favIconUrl cachePolicy: NSURLRequestUseProtocolCachePolicy
timeoutInterval: 10.0];
timeoutInterval: 30.0];
NSData * iconData = [NSURLConnection sendSynchronousRequest: request returningResponse: NULL error: NULL];
NSImage * icon = [[NSImage alloc] initWithData: iconData];