From 9fae429c93368ff7d48398bfa6f52fac9034ab69 Mon Sep 17 00:00:00 2001 From: gdt Date: Wed, 25 Nov 2015 23:36:33 +0000 Subject: Add missing patch (This is logically part of the previous commit.) --- .../patches/patch-lib_config_optionsconfiguration.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/syncthing/patches/patch-lib_config_optionsconfiguration.go (limited to 'net') diff --git a/net/syncthing/patches/patch-lib_config_optionsconfiguration.go b/net/syncthing/patches/patch-lib_config_optionsconfiguration.go new file mode 100644 index 00000000000..da7012ab256 --- /dev/null +++ b/net/syncthing/patches/patch-lib_config_optionsconfiguration.go @@ -0,0 +1,13 @@ +$NetBSD: patch-lib_config_optionsconfiguration.go,v 1.1 2015/11/25 23:36:33 gdt Exp $ + +--- lib/config/optionsconfiguration.go.orig 2015-11-22 15:05:20.000000000 +0000 ++++ lib/config/optionsconfiguration.go +@@ -31,7 +31,7 @@ type OptionsConfiguration struct { + URPostInsecurely bool `xml:"urPostInsecurely" json:"urPostInsecurely" default:"false"` // For testing + URInitialDelayS int `xml:"urInitialDelayS" json:"urInitialDelayS" default:"1800"` + RestartOnWakeup bool `xml:"restartOnWakeup" json:"restartOnWakeup" default:"true"` +- AutoUpgradeIntervalH int `xml:"autoUpgradeIntervalH" json:"autoUpgradeIntervalH" default:"12"` // 0 for off ++ AutoUpgradeIntervalH int `xml:"autoUpgradeIntervalH" json:"autoUpgradeIntervalH" default:"0"` // 0 for off + KeepTemporariesH int `xml:"keepTemporariesH" json:"keepTemporariesH" default:"24"` // 0 for off + CacheIgnoredFiles bool `xml:"cacheIgnoredFiles" json:"cacheIgnoredFiles" default:"true"` + ProgressUpdateIntervalS int `xml:"progressUpdateIntervalS" json:"progressUpdateIntervalS" default:"5"` -- cgit v1.2.3