makecorpus: more reasonable defaults

This commit is contained in:
Motiejus Jakštys 2022-08-07 23:53:21 -07:00
parent f5131ebe70
commit 8c2612c025

View File

@ -21,7 +21,7 @@ const usage =
\\Options: \\Options:
\\ -h Print this help message and exit \\ -h Print this help message and exit
\\ --directory Write files to given directory (default: .) \\ --directory Write files to given directory (default: .)
\\ --num-users Number of users (default: 100000) \\ --num-users Number of users (default: 10000)
\\ --num-groups Number of groups (default: 10000) \\ --num-groups Number of groups (default: 10000)
\\ --avg-members Average members per group (default: 1000) \\ --avg-members Average members per group (default: 1000)
\\ \\
@ -75,7 +75,7 @@ fn execute(
return error.User; return error.User;
} }
const num_users = parseInt(stderr, myflags, "--num-users", 100000) orelse return error.User; const num_users = parseInt(stderr, myflags, "--num-users", 10000) orelse return error.User;
const num_groups = parseInt(stderr, myflags, "--num-groups", 10000) orelse return error.User; const num_groups = parseInt(stderr, myflags, "--num-groups", 10000) orelse return error.User;
const avg_members = parseInt(stderr, myflags, "--avg-members", 1000) orelse return error.User; const avg_members = parseInt(stderr, myflags, "--avg-members", 1000) orelse return error.User;