Marino Faggiana 6 жил өмнө
parent
commit
9942be6ff9

+ 1 - 1
PickerFileProvider/FileProviderExtension.swift

@@ -91,7 +91,7 @@ class FileProviderExtension: NSFileProviderExtension, CCNetworkingDelegate {
             // Timer for upload
             if timerUpload == nil {
                 
-                timerUpload = Timer.init(timeInterval: TimeInterval(k_timerProcessAutoDownloadUpload), repeats: true, block: { (Timer) in
+                timerUpload = Timer.init(timeInterval: TimeInterval(k_timerProcessAutoUploadExtension), repeats: true, block: { (Timer) in
                     
                     // new upload
                     self.uploadFile()

+ 1 - 0
iOSClient/CCGlobal.h

@@ -135,6 +135,7 @@ extern NSString *const flowEndpoint;
 
 #define k_timerVerifySession                            10
 #define k_timerProcessAutoDownloadUpload                5
+#define k_timerProcessAutoUploadExtension               10
 #define k_timerUpdateApplicationIconBadgeNumber         3
 
 #define k_maxConcurrentOperation                         10