lib/model: Clear out-of-space-errored files from queue (fixes #5143)

This commit is contained in:
Jakob Borg 2018-08-25 10:26:10 +02:00
parent cb0f4ce55a
commit 7dde6c7e3c
1 changed files with 1 additions and 0 deletions

View File

@ -1008,6 +1008,7 @@ func (f *sendReceiveFolder) handleFile(file protocol.FileInfo, copyChan chan<- c
if err := f.CheckAvailableSpace(blocksSize); err != nil {
f.newError("pulling file", file.Name, err)
f.queue.Done(file.Name)
return
}