Explorar o código

chore(model): remove GUI/log warning on sequence anomaly (#9738)

I can see already in our Sentry data that there are a fair amount of
these warnings, and mostly the shape of it. Asking users to report them
will likely cause a lot of reporting effort to fairly little additional
value. We can do that when/if we have something more targeted to ask
for.
Jakob Borg hai 1 ano
pai
achega
31874f3ebb
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  1. 0 6
      lib/model/indexhandler.go

+ 0 - 6
lib/model/indexhandler.go

@@ -448,13 +448,7 @@ func (s *indexHandler) receive(fs []protocol.FileInfo, update bool, op string, p
 	return nil
 }
 
-var warnSequenceAnomalyOnce sync.Once
-
 func (s *indexHandler) logSequenceAnomaly(msg string, extra map[string]any) {
-	warnSequenceAnomalyOnce.Do(func() {
-		l.Warnf("Index sequence anomaly detected (please report at https://forum.syncthing.net/t/22660): %s (%v)", msg, extra)
-	})
-
 	extraStrs := make(map[string]string, len(extra))
 	for k, v := range extra {
 		extraStrs[k] = fmt.Sprint(v)