MerginMaps / MerginMaps/mobile

Run sync in a loop

Open
#4,675 0 comments 0 reactions 1 assignee View on GitHub

@Withalion is already working on this.

Since Aug 28, 2026.

enhancement sync
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.