MINOR: listener/config: make "thread" always support up to LONGBITS

The difference is subtle but in one place there was MAXTHREADS and this
will not work anymore once it goes over 64.
This commit is contained in:
Willy Tarreau 2022-07-15 17:18:23 +02:00
parent acd644197f
commit 740038c8b9

View File

@ -1809,7 +1809,7 @@ static int bind_parse_thread(char **args, int cur_arg, struct proxy *px, struct
return ERR_ALERT | ERR_FATAL;
}
if (parse_process_number(sep, &thread, MAX_THREADS, NULL, err)) {
if (parse_process_number(sep, &thread, LONGBITS, NULL, err)) {
memprintf(err, "'%s' : %s", sep, *err);
return ERR_ALERT | ERR_FATAL;
}