mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
pre-allocate EC memory by default at startup (#18846)
This commit is contained in:
@@ -373,7 +373,6 @@ func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
|
||||
|
||||
// Check "no-compat" flag from command line argument.
|
||||
ctxt.StrictS3Compat = !(ctx.IsSet("no-compat") || ctx.GlobalIsSet("no-compat"))
|
||||
ctxt.PreAllocate = ctx.IsSet("pre-allocate") || ctx.GlobalIsSet("pre-allocate")
|
||||
|
||||
switch {
|
||||
case ctx.IsSet("config-dir"):
|
||||
|
||||
Reference in New Issue
Block a user