cmd/syncthing, lib/config: Remove restartOnWakeup option & functionality (fixes #8448) (#8449)

This commit is contained in:
Jakob Borg
2022-07-26 16:53:10 +02:00
committed by GitHub
parent 1b575b4461
commit a2c5d901f2
6 changed files with 196 additions and 261 deletions
-1
View File
@@ -227,7 +227,6 @@ func sendFailureReports(ctx context.Context, reports []FailureReport, url string
return
}
resp.Body.Close()
return
}
func newFailureReport(stat *failureStat) FailureReport {
-1
View File
@@ -225,7 +225,6 @@ func (s *Service) reportData(ctx context.Context, urVersion int, preview bool) (
report.TemporariesCustom = opts.KeepTemporariesH != 24
report.LimitBandwidthInLan = opts.LimitBandwidthInLan
report.CustomReleaseURL = opts.ReleasesURL != "https=//upgrades.syncthing.net/meta.json"
report.RestartOnWakeup = opts.RestartOnWakeup
report.CustomStunServers = len(opts.RawStunServers) != 1 || opts.RawStunServers[0] != "default"
for _, cfg := range s.cfg.Folders() {