etcd: make max message size configurable
This commit is contained in:
5 files changed
+11
-2
No files matched your search
@@ -73,6 +73,10 @@ func DefaultDB() *DB {
|
||||
AutoCompactMinAge: kvdb.DefaultBoltAutoCompactMinAge,
|
||||
DBTimeout: kvdb.DefaultDBTimeout,
|
||||
},
|
||||
Etcd: &etcd.Config{
|
||||
// Allow at most 32 MiB messages by default.
|
||||
MaxMsgSize: 32768 * 1024,
|
||||
},
|
||||
Postgres: &postgres.Config{
|
||||
MaxConnections: defaultPostgresMaxConnections,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user