mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-10-25 22:26:00 +03:00
do not execute synchronization concurrently
This commit is contained in:
parent
153459d3bc
commit
a541775514
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ public class NoteServerSyncHelper {
|
|||
syncTask.addCallbacks(callbacksPull);
|
||||
callbacksPull = new ArrayList<>();
|
||||
}
|
||||
syncTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||
syncTask.execute();
|
||||
} else if (!onlyLocalChanges) {
|
||||
Log.d(getClass().getSimpleName(), "... scheduled");
|
||||
syncScheduled = true;
|
||||
|
|
Loading…
Reference in a new issue