mirror of https://github.com/BOINC/boinc.git
- client: don't accumulate LTD for projects w/ suspended jobs
svn path=/trunk/boinc/; revision=20630
This commit is contained in:
parent
df0f02b8e4
commit
6a3a03ee1a
|
@ -1256,8 +1256,14 @@ David 17 Feb 2010
|
||||||
html/inc/
|
html/inc/
|
||||||
prefs.inc
|
prefs.inc
|
||||||
|
|
||||||
David 18 Feb 2010
|
David 18 Feb 2010
|
||||||
- assimilator: fix --one_pass bug (from Bernd)
|
- assimilator: fix --one_pass bug (from Bernd)
|
||||||
|
|
||||||
sched/
|
sched/
|
||||||
assimilator.cpp
|
assimilator.cpp
|
||||||
|
|
||||||
|
David 18 Feb 2010
|
||||||
|
- client: don't accumulate LTD for projects w/ suspended jobs
|
||||||
|
|
||||||
|
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) {
|
bool RSC_PROJECT_WORK_FETCH::debt_eligible(PROJECT* p, RSC_WORK_FETCH& rwf) {
|
||||||
if (p->non_cpu_intensive) return false;
|
if (p->non_cpu_intensive) return false;
|
||||||
if (p->suspended_via_gui) return false;
|
if (p->suspended_via_gui) return false;
|
||||||
|
if (p->some_result_suspended()) return false;
|
||||||
if (has_runnable_jobs) return true;
|
if (has_runnable_jobs) return true;
|
||||||
// must precede the done_request_more_work check
|
// must precede the done_request_more_work check
|
||||||
if (p->dont_request_more_work) return false;
|
if (p->dont_request_more_work) return false;
|
||||||
|
|
Loading…
Reference in New Issue