MerginMaps / MerginMaps/mobile
Run sync in a loop
@Withalion is already working on this.
Since Aug 28, 2026.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
Following https://github.com/MerginMaps/product/issues/83, let's introduce the sync loop
```
local_changes = true
while (local changes):
pull_project()
push_state = push_project()
if push_state == success:
local_changes = get_remaining_changes()
clear retry counter
else if push_state is error, but can be retried:
sleep()
increment retry counter
else (push_state can not be retried || I have retried max times)
break
```
Acceptance criteria:
- On "Somebody else is syncing" error, the app retries to sync
- Sync works as before
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.