mirror of https://github.com/BOINC/boinc.git
- client: work fetch: skip project if zero CPU shortfall
and currently have coproc jobs. svn path=/trunk/boinc/; revision=16746
This commit is contained in:
parent
b9d70d1681
commit
b24d947aaa
|
@ -10385,3 +10385,10 @@ David 26 Dec 2008
|
|||
autolock.php
|
||||
user/
|
||||
white.css
|
||||
|
||||
David 26 Dec 2008
|
||||
- client: work fetch: skip project if zero CPU shortfall
|
||||
and currently have coproc jobs.
|
||||
|
||||
client/
|
||||
work_fetch.cpp
|
||||
|
|
|
@ -477,7 +477,15 @@ bool CLIENT_STATE::compute_work_requests() {
|
|||
// see if this project can be ruled out completely
|
||||
//
|
||||
if (p->non_cpu_intensive) continue;
|
||||
if (!p->rr_sim_status.cpu_shortfall) continue;
|
||||
|
||||
if (!p->rr_sim_status.cpu_shortfall && p->rr_sim_status.has_coproc_jobs) {
|
||||
if (log_flags.work_fetch_debug) {
|
||||
msg_printf(p, MSG_INFO,
|
||||
"[work_fetch_debug] 0 shortfall and have coproc jobs; skipping"
|
||||
);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (!p->contactable()) {
|
||||
if (log_flags.work_fetch_debug) {
|
||||
msg_printf(p, MSG_INFO, "[work_fetch_debug] work fetch: project not contactable; skipping");
|
||||
|
|
Loading…
Reference in New Issue