Client: fix work_fetch after app_config write from RPC

Treat project_max_concurrent=0 as 'unspecified'.
This commit is contained in:
RichardHaselgrove 2021-04-20 16:25:15 +01:00
parent 3f8135e46b
commit 07d2862427
1 changed files with 1 additions and 1 deletions

View File

@ -831,7 +831,7 @@ int APP_CONFIGS::parse(XML_PARSER& xp, MSG_VEC& mv, LOG_FLAGS& log_flags) {
continue;
}
if (xp.parse_int("project_max_concurrent", n)) {
if (n >= 0) {
if (n > 0) {
have_max_concurrent = true;
project_has_mc = true;
project_max_concurrent = n;