mirror of https://github.com/BOINC/boinc.git
- 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:
parent
979e57767e
commit
eb9d387825
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue