mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 17:34:45 +00:00
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:
parent
acd644197f
commit
740038c8b9
@ -1808,8 +1808,8 @@ static int bind_parse_thread(char **args, int cur_arg, struct proxy *px, struct
|
||||
memprintf(err, "'%s' multiple thread-groups are not supported", args[cur_arg + 1]);
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user