From 6a3a03ee1a6db14ae603c1d5b5de9f413a749fe2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 18 Feb 2010 19:09:46 +0000 Subject: [PATCH] - client: don't accumulate LTD for projects w/ suspended jobs svn path=/trunk/boinc/; revision=20630 --- checkin_notes | 8 +++++++- client/work_fetch.cpp | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 2a1ddc8087..914ae46c55 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1256,8 +1256,14 @@ David 17 Feb 2010 html/inc/ prefs.inc -David 18 Feb 2010 +David 18 Feb 2010 - assimilator: fix --one_pass bug (from Bernd) sched/ assimilator.cpp + +David 18 Feb 2010 + - client: don't accumulate LTD for projects w/ suspended jobs + + client/ + work_fetch.cpp diff --git a/client/work_fetch.cpp b/client/work_fetch.cpp index 50ec140bc0..2d33db9028 100644 --- a/client/work_fetch.cpp +++ b/client/work_fetch.cpp @@ -161,6 +161,7 @@ bool RSC_PROJECT_WORK_FETCH::overworked() { bool RSC_PROJECT_WORK_FETCH::debt_eligible(PROJECT* p, RSC_WORK_FETCH& rwf) { if (p->non_cpu_intensive) return false; if (p->suspended_via_gui) return false; + if (p->some_result_suspended()) return false; if (has_runnable_jobs) return true; // must precede the done_request_more_work check if (p->dont_request_more_work) return false;