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:
John McLeod VII 2008-02-12 05:07:59 +00:00
parent 51286a03dc
commit 3173c1158a
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ bool CLIENT_STATE::compute_work_requests() {
for (i=0; i< projects.size(); i++) {
PROJECT* p = projects[i];
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_urgency = WORK_FETCH_DONT_NEED;
} else {