Skip to content

Commit

Permalink
reduce timeouts to speed up app
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Knop <[email protected]>
  • Loading branch information
Alex Knop committed Feb 6, 2025
1 parent b072e14 commit 91960f4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ private RemoteOperationResult checkForChanges(OwnCloudClient client) {
Log_OC.d(TAG, "Checking changes in " + user.getAccountName() + remotePath);

// remote request
SessionTimeOut sessionTimeOut = new SessionTimeOut(1000,1000); result = new ReadFileRemoteOperation(remotePath, sessionTimeOut).execute(client);
SessionTimeOut sessionTimeOut = new SessionTimeOut(1000,1000);
result = new ReadFileRemoteOperation(remotePath, sessionTimeOut).execute(client);

if (result.isSuccess()) {
OCFile remoteFolder = FileStorageUtils.fillOCFile((RemoteFile) result.getData().get(0));
Expand Down

0 comments on commit 91960f4

Please sign in to comment.