From 187e95b948cd2aa376f4919177254e6fd88304b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Jungmann?= Date: Wed, 7 Feb 2024 21:59:07 +0100 Subject: [PATCH] fix: change priority to high --- Send/Controllers/UploadViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Send/Controllers/UploadViewController.m b/Send/Controllers/UploadViewController.m index 3b73eca..e4a0b23 100644 --- a/Send/Controllers/UploadViewController.m +++ b/Send/Controllers/UploadViewController.m @@ -62,7 +62,7 @@ - (void)uploadFiles:(NSArray *)files withExpiry:(long long)expiry withLi for (File *file in files) [filePaths addObject:[file path]]; // Start download - dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ + dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ [self->send uploadFilesWithPaths:filePaths tempFileCreatedAtBlock:^(NSString *path) { // Update file with created ZIP location File *file = [[File alloc] initWithPath:path];