mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
lib/model: Clear out-of-space-errored files from queue (fixes #5143)
This commit is contained in:
parent
cb0f4ce55a
commit
7dde6c7e3c
@ -1008,6 +1008,7 @@ func (f *sendReceiveFolder) handleFile(file protocol.FileInfo, copyChan chan<- c
|
|||||||
|
|
||||||
if err := f.CheckAvailableSpace(blocksSize); err != nil {
|
if err := f.CheckAvailableSpace(blocksSize); err != nil {
|
||||||
f.newError("pulling file", file.Name, err)
|
f.newError("pulling file", file.Name, err)
|
||||||
|
f.queue.Done(file.Name)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user