etcd: optionally reduce concurrency to single writer for legacy code
This commit is contained in:
5 files changed
+70
-17
No files matched your search
@@ -25,4 +25,8 @@ type Config struct {
|
||||
InsecureSkipVerify bool `long:"insecure_skip_verify" description:"Whether we intend to skip TLS verification"`
|
||||
|
||||
CollectStats bool `long:"collect_stats" description:"Whether to collect etcd commit stats."`
|
||||
|
||||
// SingleWriter should be set to true if we intend to only allow a
|
||||
// single writer to the database at a time.
|
||||
SingleWriter bool
|
||||
}
|
||||
Reference in new issue
Block a user