cozy-labs / cozy-desktop

File Synchronisation for Cozy on Desktop and Laptop
https://cozy-labs.github.io/cozy-desktop/
GNU Affero General Public License v3.0
99 stars 45 forks source link

fix: Clear errors counter after each merge #2290

Closed taratatach closed 1 year ago

taratatach commented 1 year ago

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: