From 7dde6c7e3c994694778bf0003f4141a3a3a76db4 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 25 Aug 2018 10:26:10 +0200 Subject: [PATCH] lib/model: Clear out-of-space-errored files from queue (fixes #5143) --- lib/model/folder_sendrecv.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/model/folder_sendrecv.go b/lib/model/folder_sendrecv.go index 06029cdd7..15e58e20f 100644 --- a/lib/model/folder_sendrecv.go +++ b/lib/model/folder_sendrecv.go @@ -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 }