From 49fb937d6144b1cadd65bfafc1c9284afad30f37 Mon Sep 17 00:00:00 2001 From: Derek Zhou Date: Sun, 15 Jan 2023 12:54:04 -0500 Subject: [PATCH] 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. --- mu/mu-options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu/mu-options.cc b/mu/mu-options.cc index 30b4e67f..8737d561 100644 --- a/mu/mu-options.cc +++ b/mu/mu-options.cc @@ -367,7 +367,7 @@ sub_init(CLI::App& sub, Options& opts) ->type_name(""); 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"); }