Set defaults for retry_max and retry_interval options

This commit is contained in:
Chris Aubuchon
2015-12-02 15:50:57 -06:00
parent 0d0fe0a408
commit 63bdb79528

View File

@@ -278,9 +278,11 @@ func DefaultConfig() *Config {
NetworkSpeed: 100,
},
Server: &ServerConfig{
Enabled: false,
StartJoin: []string{},
RetryJoin: []string{},
Enabled: false,
StartJoin: []string{},
RetryJoin: []string{},
RetryInterval: 30 * time.Second,
RetryMaxAttempts: 0,
},
}
}