etcdserver: add --max-request-bytes flag

This commit is contained in:
fanmin shi
2017-05-22 16:54:50 -07:00
parent b003734be6
commit 9e7740011b
9 changed files with 59 additions and 11 deletions

View File

@ -56,6 +56,9 @@ type ServerConfig struct {
QuotaBackendBytes int64
MaxTxnOps uint
// MaxRequestBytes is the maximum request size to send over raft.
MaxRequestBytes uint
StrictReconfigCheck bool
// ClientCertAuthEnabled is true when cert has been signed by the client CA.