From 889f79d11a4ba59ec3c6f114d9a8735b24e019aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Podg=C3=B3rski?= Date: Tue, 12 May 2020 16:02:11 +0200 Subject: [PATCH 1/2] Turn anti-entropy off by default --- server.go | 2 +- server/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index 287fba0af..fd07ec0b2 100644 --- a/server.go +++ b/server.go @@ -326,7 +326,7 @@ func NewServer(opts ...ServerOption) (*Server, error) { gcNotifier: NopGCNotifier, - antiEntropyInterval: time.Minute * 10, + antiEntropyInterval: 0, metricInterval: 0, diagnosticInterval: 0, diff --git a/server/config.go b/server/config.go index 66acef154..f4ddea35b 100644 --- a/server/config.go +++ b/server/config.go @@ -198,7 +198,7 @@ func NewConfig() *Config { c.Gossip.ToTheDeadTime = toml.Duration(30 * time.Second) // AntiEntropy config. - c.AntiEntropy.Interval = toml.Duration(10 * time.Minute) + c.AntiEntropy.Interval = toml.Duration(0 * time.Minute) // Metric config. c.Metric.Service = "none" From fd27cbb886a7b62db6160a215a26190966ab761b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Podg=C3=B3rski?= Date: Tue, 12 May 2020 18:51:53 +0200 Subject: [PATCH 2/2] Update server/config.go Co-authored-by: Matthew Jaffee --- server/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/config.go b/server/config.go index f4ddea35b..1a8453fb1 100644 --- a/server/config.go +++ b/server/config.go @@ -198,7 +198,7 @@ func NewConfig() *Config { c.Gossip.ToTheDeadTime = toml.Duration(30 * time.Second) // AntiEntropy config. - c.AntiEntropy.Interval = toml.Duration(0 * time.Minute) + c.AntiEntropy.Interval = toml.Duration(0) // Metric config. c.Metric.Service = "none"