mirror of https://github.com/BOINC/boinc.git
Client: fix work_fetch after app_config write from RPC
Treat project_max_concurrent=0 as 'unspecified'.
This commit is contained in:
parent
3f8135e46b
commit
07d2862427
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue