fix(model): properly health-check up-to-date folders (fixes #10546) (#10773)

Previously we'd skip the health check for an up-to-date folder, so it
would continue looking up-to-date even when the folder path missing.

---------

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2026-07-20 22:54:31 +02:00
committed by GitHub
parent d710874903
commit 9f7b4d4104
5 changed files with 41 additions and 30 deletions
-1
View File
@@ -98,7 +98,6 @@ func (f *sendOnlyFolder) override(ctx context.Context) error {
f.sl.InfoContext(ctx, "Overriding global state ")
f.setState(FolderScanning)
defer f.setState(FolderIdle)
batch := NewFileInfoBatch(func(files []protocol.FileInfo) error {
f.updateLocalsFromScanning(files)