diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 2d09fe5b3..44b31a2cb 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -584,7 +584,7 @@ func syncthingMain(runtimeOptions RuntimeOptions) { // events. The LocalChangeDetected event might overwhelm the event // receiver in some situations so we will not subscribe to it here. apiSub := events.NewBufferedSubscription(events.Default.Subscribe(events.AllEvents&^events.LocalChangeDetected&^events.RemoteChangeDetected), 1000) - diskSub := events.NewBufferedSubscription(events.Default.Subscribe(events.LocalChangeDetected|events.RemoteChangeDetected), 1000) + diskSub := events.NewBufferedSubscription(events.Default.Subscribe(events.LocalChangeDetected|events.RemoteChangeDetected|events.Ping), 1000) if len(os.Getenv("GOMAXPROCS")) == 0 { runtime.GOMAXPROCS(runtime.NumCPU())