diff --git a/Sparkle/SUBinaryDeltaUnarchiver.m b/Sparkle/SUBinaryDeltaUnarchiver.m index 086e7a2e..6d4171a5 100644 --- a/Sparkle/SUBinaryDeltaUnarchiver.m +++ b/Sparkle/SUBinaryDeltaUnarchiver.m @@ -42,7 +42,7 @@ - (void)start { - dispatch_async(dispatch_get_global_queue(0, 0), ^{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ [self applyBinaryDelta]; }); } diff --git a/Sparkle/SUDiskImageUnarchiver.m b/Sparkle/SUDiskImageUnarchiver.m index ac9e9c87..dcb4a549 100644 --- a/Sparkle/SUDiskImageUnarchiver.m +++ b/Sparkle/SUDiskImageUnarchiver.m @@ -134,7 +134,7 @@ - (void)start { - dispatch_async(dispatch_get_global_queue(0, 0), ^{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ [self extractDMG]; }); } diff --git a/Sparkle/SUPackageInstaller.m b/Sparkle/SUPackageInstaller.m index fc25f955..23ad954f 100644 --- a/Sparkle/SUPackageInstaller.m +++ b/Sparkle/SUPackageInstaller.m @@ -27,7 +27,7 @@ return; } - dispatch_async(dispatch_get_global_queue(0, 0), ^{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ NSTask *installer = [NSTask launchedTaskWithLaunchPath:command arguments:args]; [installer waitUntilExit]; diff --git a/Sparkle/SUPlainInstaller.m b/Sparkle/SUPlainInstaller.m index 36c4e861..e38cb81f 100644 --- a/Sparkle/SUPlainInstaller.m +++ b/Sparkle/SUPlainInstaller.m @@ -26,7 +26,7 @@ } #endif - dispatch_async(dispatch_get_global_queue(0, 0), ^{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ NSError *error = nil; NSString *oldPath = [host bundlePath]; NSString *tempName = [self temporaryNameForPath:[host installationPath]]; diff --git a/Sparkle/SUUpdater.m b/Sparkle/SUUpdater.m index 16dd23e5..b3f5a9d9 100644 --- a/Sparkle/SUUpdater.m +++ b/Sparkle/SUUpdater.m @@ -300,7 +300,7 @@ static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefault // hour or so: SUUpdateDriver * theUpdateDriver = [[[([self automaticallyDownloadsUpdates] ? [SUAutomaticUpdateDriver class] : [SUScheduledUpdateDriver class]) alloc] initWithUpdater:self] autorelease]; - dispatch_async(dispatch_get_global_queue(0, 0), ^{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ [self checkForUpdatesInBgReachabilityCheckWithDriver:theUpdateDriver]; }); }