From 3173c1158ae591645f27e345da615a7c91dcdff4 Mon Sep 17 00:00:00 2001 From: John McLeod VII Date: Tue, 12 Feb 2008 05:07:59 +0000 Subject: [PATCH] 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 --- client/work_fetch.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/work_fetch.C b/client/work_fetch.C index 27e2bcd082..64ede1e77f 100644 --- a/client/work_fetch.C +++ b/client/work_fetch.C @@ -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 {