Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <ios@nextcloud.com>2022-08-06 12:50:49 +0300
committermarinofaggiana <ios@nextcloud.com>2022-08-06 12:50:49 +0300
commit1120859a6b4a4b9ef20490540760c853cc9de418 (patch)
treea6fab9b18e7ba740f64ab5e46e652590f5fc5553
parentcec0099c7007c5e279f132bed08e0c131a888e35 (diff)
Search timeout 300
Signed-off-by: marinofaggiana <ios@nextcloud.com>
-rw-r--r--iOSClient/Media/NCMedia.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/iOSClient/Media/NCMedia.swift b/iOSClient/Media/NCMedia.swift
index d486e32df..0df950146 100644
--- a/iOSClient/Media/NCMedia.swift
+++ b/iOSClient/Media/NCMedia.swift
@@ -526,7 +526,7 @@ extension NCMedia {
let height = self.tabBarController?.tabBar.frame.size.height ?? 0
NCUtility.shared.startActivityIndicator(backgroundView: self.view, blurEffect: false, bottom: height + 50, style: .gray)
- NCCommunication.shared.searchMedia(path: mediaPath, lessDate: lessDate, greaterDate: greaterDate, elementDate: "d:getlastmodified/", limit: limit, showHiddenFiles: CCUtility.getShowHiddenFiles(), timeout: 120) { account, files, errorCode, errorDescription in
+ NCCommunication.shared.searchMedia(path: mediaPath, lessDate: lessDate, greaterDate: greaterDate, elementDate: "d:getlastmodified/", limit: limit, showHiddenFiles: CCUtility.getShowHiddenFiles(), timeout: 300) { account, files, errorCode, errorDescription in
self.oldInProgress = false
NCUtility.shared.stopActivityIndicator()
@@ -605,7 +605,7 @@ extension NCMedia {
reloadDataThenPerform {
- NCCommunication.shared.searchMedia(path: self.mediaPath, lessDate: lessDate, greaterDate: greaterDate, elementDate: "d:getlastmodified/", limit: limit, showHiddenFiles: CCUtility.getShowHiddenFiles(), timeout: 120) { account, files, errorCode, errorDescription in
+ NCCommunication.shared.searchMedia(path: self.mediaPath, lessDate: lessDate, greaterDate: greaterDate, elementDate: "d:getlastmodified/", limit: limit, showHiddenFiles: CCUtility.getShowHiddenFiles(), timeout: 300) { account, files, errorCode, errorDescription in
self.newInProgress = false
self.mediaCommandView?.activityIndicator.stopAnimating()