Merge pull request #378 from kuba--/off-ae/340

Turn anti-entropy off by default
This commit is contained in:
Kuba Podgórski 2020-05-13 14:26:13 +02:00 committed by GitHub
commit fc9e75edc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -326,7 +326,7 @@ func NewServer(opts ...ServerOption) (*Server, error) {
gcNotifier: NopGCNotifier,
antiEntropyInterval: time.Minute * 10,
antiEntropyInterval: 0,
metricInterval: 0,
diagnosticInterval: 0,

View file

@ -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)
// Metric config.
c.Metric.Service = "none"