- client: if a project has zero resource share,

don't piggyback a work request onto a non-work-request RPC


svn path=/trunk/boinc/; revision=23844
This commit is contained in:
David Anderson 2011-07-14 16:30:53 +00:00
parent 979e57767e
commit eb9d387825
2 changed files with 13 additions and 5 deletions

View File

@ -4096,12 +4096,12 @@ David 13 July 2011
trickle_credit.cpp
David 13 July 2011
- manager: don't show "Estimated computation speed" in task properties
The quantity involved is not actually computation speed.
Also don't show Max RAM usage.
- manager: don't show "Estimated computation speed" in task properties
The quantity involved is not actually computation speed.
Also don't show Max RAM usage.
clientgui/
DltItemProperties.cpp
clientgui/
DltItemProperties.cpp
David 13 July 2011
- admin web: improve the FLOPs estimation tool so that
@ -4136,3 +4136,10 @@ David 14 July 2011
lib/
cc_config.cpp,h
cpu_sched.cpp
David 14 July 2011
- client: if a project has zero resource share,
don't piggyback a work request onto a non-work-request RPC
client/
work_fetch.cpp

View File

@ -829,6 +829,7 @@ void WORK_FETCH::compute_work_request(PROJECT* p) {
clear_request();
if (config.fetch_minimal_work && gstate.had_or_requested_work) return;
if (p->dont_request_more_work) return;
if (p->resource_share == 0) return;
if (p->non_cpu_intensive) {
if (!has_a_job(p)) {
rsc_work_fetch[0].req_secs = 1;