Skip to content

Commit 09ba509

Browse files
committed
Merge pull request #39 from MBKwon/master
fixed a _diskQueue's priority.
2 parents 4223502 + 1ec6c0b commit 09ba509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EGOCache.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ - (id)initWithCacheDirectory:(NSString*)cacheDirectory {
9393
dispatch_set_target_queue(priority, _frozenCacheInfoQueue);
9494

9595
_diskQueue = dispatch_queue_create("com.enormego.egocache.disk", DISPATCH_QUEUE_CONCURRENT);
96-
priority = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_LOW, 0);
97-
dispatch_set_target_queue(priority, _cacheInfoQueue);
96+
priority = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0);
97+
dispatch_set_target_queue(priority, _diskQueue);
9898

9999

100100
_directory = cacheDirectory;

0 commit comments

Comments
 (0)