@@ -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()
@@ -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