Browse Source

maxConcurrentOperationUploadCameraAllPhoto

Marino Faggiana 8 years ago
parent
commit
75d47f9bef
2 changed files with 2 additions and 2 deletions
  1. 1 1
      iOSClient/AppDelegate.m
  2. 1 1
      iOSClient/CCGlobal.h

+ 1 - 1
iOSClient/AppDelegate.m

@@ -129,7 +129,7 @@
     
     _netQueueUploadCameraAllPhoto = [[NSOperationQueue alloc] init];
     _netQueueUploadCameraAllPhoto.name = @"it.twsweb.cryptocloud.queueUploadCameraAllPhoto";
-    _netQueueUploadCameraAllPhoto.maxConcurrentOperationCount = 1;
+    _netQueueUploadCameraAllPhoto.maxConcurrentOperationCount = maxConcurrentOperationUploadCameraAllPhoto;
     
 #ifdef CC
     // Inizialize DBSession for Dropbox

+ 1 - 1
iOSClient/CCGlobal.h

@@ -189,7 +189,7 @@ extern NSString *const BKPasscodeKeychainServiceName;
 
 #define maxConcurrentOperation 10
 #define maxConcurrentOperationDownloadUpload 10
-
+#define maxConcurrentOperationUploadCameraAllPhoto 1
 
 // Error
 #define CCErrorTaskNil -9999