fix batch-size option in sub_init

I use mu on a resource constrained VPS, so I need to reduce batch-size from the default value, thus I found this bug.
This commit is contained in:
Derek Zhou
2023-01-15 12:54:04 -05:00
committed by GitHub
parent deb32c5c06
commit 49fb937d61

View File

@ -367,7 +367,7 @@ sub_init(CLI::App& sub, Options& opts)
->type_name("<addresses>");
sub.add_option("--max-message-size", opts.init.max_msg_size,
"Maximum allowed message size in bytes");
sub.add_option("--batch-size", opts.init.max_msg_size,
sub.add_option("--batch-size", opts.init.batch_size,
"Maximum size of database transaction");
}