Merge pull request #2414 from derek-zhou/master

fix batch-size option in sub_init
This commit is contained in:
Dirk-Jan C. Binnema 2023-01-15 23:12:56 +02:00 committed by GitHub
commit 07f644547d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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");
}