From 3907cb0693fab2ef34edc9c7ea6a557ac7cca6ac Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Sun, 17 Apr 2022 10:41:25 +0200 Subject: [PATCH] lib/model: Subscribe to correct event for fs watching (ref #8249) (#8287) --- lib/model/folder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model/folder.go b/lib/model/folder.go index 016800126..2e90f3536 100644 --- a/lib/model/folder.go +++ b/lib/model/folder.go @@ -989,7 +989,7 @@ func (f *folder) monitorWatch(ctx context.Context) { var summarySub events.Subscription var summaryChan <-chan events.Event if fs.WatchKqueue && !f.warnedKqueue { - summarySub = f.evLogger.Subscribe(events.FolderCompletion) + summarySub = f.evLogger.Subscribe(events.FolderSummary) summaryChan = summarySub.C() } defer func() {