Skip to content

Commit

Permalink
fix: change priority to high
Browse files Browse the repository at this point in the history
  • Loading branch information
EETagent committed Feb 7, 2024
1 parent 92d2045 commit 187e95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Send/Controllers/UploadViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ - (void)uploadFiles:(NSArray<File *> *)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];
Expand Down

0 comments on commit 187e95b

Please sign in to comment.