diff options
author | marinofaggiana <ios@nextcloud.com> | 2022-08-06 12:50:49 +0300 |
---|---|---|
committer | marinofaggiana <ios@nextcloud.com> | 2022-08-06 12:50:49 +0300 |
commit | 1120859a6b4a4b9ef20490540760c853cc9de418 (patch) | |
tree | a6fab9b18e7ba740f64ab5e46e652590f5fc5553 /iOSClient | |
parent | cec0099c7007c5e279f132bed08e0c131a888e35 (diff) |
Search timeout 300
Signed-off-by: marinofaggiana <ios@nextcloud.com>
Diffstat (limited to 'iOSClient')
-rw-r--r-- | iOSClient/Media/NCMedia.swift | 4 |
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() |