-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identify how sync can be made singleton #1150
Comments
Parallel syncs analysis:
Hence the only scenario left to be handled is 3. There is existing state |
This this state, SyncActions.syncing will get reset when the app gets killed and we start it again right? just confirming. |
correct. |
As a user I want only one sync to be triggered in my app at a time, so that the app works in the designed way.
Currently we have disabled auto sync when manual sync is in progress. But manual sync can happen when auto sync is in progress as mentioned here and another manual sync can be triggered when a manual sync is in progress as mentioned in the steps to reproduce here. This results in duplicate of data, unexpected behavior and added server load.
Acceptance criteria:
The text was updated successfully, but these errors were encountered: