mirror of https://github.com/BOINC/boinc.git
client: don't request work from NCI project if "no new work" set
This commit is contained in:
parent
9ad9c5ee13
commit
3614870952
|
@ -474,7 +474,7 @@ void WORK_FETCH::piggyback_work_request(PROJECT* p) {
|
||||||
clear_request();
|
clear_request();
|
||||||
if (config.fetch_minimal_work && gstate.had_or_requested_work) return;
|
if (config.fetch_minimal_work && gstate.had_or_requested_work) return;
|
||||||
if (p->non_cpu_intensive) {
|
if (p->non_cpu_intensive) {
|
||||||
if (!has_a_job_in_progress(p)) {
|
if (!has_a_job_in_progress(p) && !p->dont_request_more_work) {
|
||||||
rsc_work_fetch[0].req_secs = 1;
|
rsc_work_fetch[0].req_secs = 1;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue