mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 18:45:13 +00:00
This commit is contained in:
parent
61dffabf97
commit
3907cb0693
@ -989,7 +989,7 @@ func (f *folder) monitorWatch(ctx context.Context) {
|
|||||||
var summarySub events.Subscription
|
var summarySub events.Subscription
|
||||||
var summaryChan <-chan events.Event
|
var summaryChan <-chan events.Event
|
||||||
if fs.WatchKqueue && !f.warnedKqueue {
|
if fs.WatchKqueue && !f.warnedKqueue {
|
||||||
summarySub = f.evLogger.Subscribe(events.FolderCompletion)
|
summarySub = f.evLogger.Subscribe(events.FolderSummary)
|
||||||
summaryChan = summarySub.C()
|
summaryChan = summarySub.C()
|
||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user