mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Sync engine: Restart sync when we get a precondition failed error
This commit is contained in:
parent
9b178c5bb2
commit
282abdd804
1 changed files with 1 additions and 0 deletions
|
@ -310,6 +310,7 @@ void PropagateUploadFileQNAM::slotPutFinished()
|
|||
// Precondition Failed: Maybe the bad etag is in the database, we need to clear the
|
||||
// parent folder etag so we won't read from DB next sync.
|
||||
_propagator->_journal->avoidReadFromDbOnNextSync(_item._file);
|
||||
_propagator->_anotherSyncNeeded = true;
|
||||
}
|
||||
|
||||
done(classifyError(err, _item._httpErrorCode), errorString);
|
||||
|
|
Loading…
Reference in a new issue