mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
embed: disable v2 by default
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
89d400211d
commit
ecb915617d
@ -69,9 +69,8 @@ const (
|
||||
// It's enabled by default.
|
||||
DefaultStrictReconfigCheck = true
|
||||
// DefaultEnableV2 is the default value for "--enable-v2" flag.
|
||||
// v2 is enabled by default.
|
||||
// TODO: disable v2 when deprecated.
|
||||
DefaultEnableV2 = true
|
||||
// v2 API is disabled by default.
|
||||
DefaultEnableV2 = false
|
||||
|
||||
// maxElectionMs specifies the maximum value of election timeout.
|
||||
// More details are listed in ../Documentation/tuning.md#time-parameters.
|
||||
|
Loading…
x
Reference in New Issue
Block a user