Some synchronization errors are not expected to resolve themselves in
time and each failed attempt will increase an errors counter on the
Pouch document until we've reached a maximum number of retries and
decide to stop trying.
However, if new changes for the document are merged, we should clear
the errors counter and try to synchronize the document as the errors
might be fixed at this point.
Please make sure the following boxes are checked:
[x] PR is not too big
[x] it improves UX & DX in some way
[x] it includes unit tests matching the implementation changes
[x] it includes scenarios matching a new behaviour or has been manually tested
Some synchronization errors are not expected to resolve themselves in time and each failed attempt will increase an errors counter on the Pouch document until we've reached a maximum number of retries and decide to stop trying.
However, if new changes for the document are merged, we should clear the errors counter and try to synchronize the document as the errors might be fixed at this point.
Please make sure the following boxes are checked: