pre-allocate EC memory by default at startup (#18846)

This commit is contained in:
Harshavardhana
2024-01-23 20:41:11 -08:00
committed by GitHub
parent e39e2306d6
commit f78d677ab6
4 changed files with 5 additions and 12 deletions
-1
View File
@@ -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"):