etcd: optionally reduce concurrency to single writer for legacy code

This commit is contained in:
Andras Banki-Horvath committed 2021-07-20 21:02:11 +02:00
1 parent bc98bb3f88
commit bc4ffb489d
5 files changed
+70 -17

No files matched your search

+4
View File
@@ -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
}