mirror of https://github.com/BOINC/boinc.git
A fix for the client asking non-cpu intensive projects for work when the project already has work on the client.
svn path=/workspaces/jm7/boinc/; revision=14719
This commit is contained in:
parent
51286a03dc
commit
3173c1158a
|
@ -418,7 +418,7 @@ bool CLIENT_STATE::compute_work_requests() {
|
||||||
for (i=0; i< projects.size(); i++) {
|
for (i=0; i< projects.size(); i++) {
|
||||||
PROJECT* p = projects[i];
|
PROJECT* p = projects[i];
|
||||||
if (p->non_cpu_intensive) {
|
if (p->non_cpu_intensive) {
|
||||||
if (p->runnable() || !p->contactable()) {
|
if (p->nearly_runnable() || !p->contactable() || p->some_result_suspended()) {
|
||||||
p->work_request = 0;
|
p->work_request = 0;
|
||||||
p->work_request_urgency = WORK_FETCH_DONT_NEED;
|
p->work_request_urgency = WORK_FETCH_DONT_NEED;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue