Browse Source

Add priority for manual upload

Marino Faggiana 8 years ago
parent
commit
eec93776e0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Main/CCMain.m

+ 2 - 0
iOSClient/Main/CCMain.m

@@ -1468,6 +1468,7 @@
                 metadataNet.cryptated = cryptated;
                 metadataNet.errorCode = 0;
                 metadataNet.fileName = fileNameUpload;
+                metadataNet.priority = NSOperationQueuePriorityVeryHigh;
                 metadataNet.selector = selectorUploadFile;
                 metadataNet.selectorPost = nil;
                 metadataNet.session = session;
@@ -1488,6 +1489,7 @@
                 metadataNet.assetLocalItentifier = asset.localIdentifier;
                 metadataNet.cryptated = cryptated;
                 metadataNet.fileName = fileNameUpload;
+                metadataNet.priority = NSOperationQueuePriorityVeryHigh;
                 metadataNet.session = session;
                 metadataNet.selector = selectorReadFileUploadFile;
                 metadataNet.serverUrl = serverUrl;