mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add auto-demotion after peer inactivity.
This commit is contained in:
@@ -27,7 +27,7 @@ type ClusterConfig struct {
|
||||
// NewClusterConfig returns a cluster configuration with default settings.
|
||||
func NewClusterConfig() *ClusterConfig {
|
||||
return &ClusterConfig{
|
||||
ActiveSize: DefaultActiveSize,
|
||||
ActiveSize: DefaultActiveSize,
|
||||
PromoteDelay: DefaultPromoteDelay,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user