Commit ebbf9d56 authored by David Anderson's avatar David Anderson

- client: if we're going to do a scheduler RPC for reasons

    other than work fetch (e.g., user request, project request)
    temporarily clear resource backoffs while deciding
    whether to request work.
    The backoffs are there only to delay RPCs,
    and we're going an RPC anyway.

svn path=/trunk/boinc/; revision=17416
parent dcbbfbfa
......@@ -2405,3 +2405,14 @@ David 27 Feb 2009
client/
rr_sim.cpp
work_fetch.cpp
David 1 Mar 2009
- client: if we're going to do a scheduler RPC for reasons
other than work fetch (e.g., user request, project request)
temporarily clear resource backoffs while deciding
whether to request work.
The backoffs are there only to delay RPCs,
and we're going an RPC anyway.
client/
work_fetch.cpp
......@@ -349,9 +349,17 @@ void WORK_FETCH::compute_work_request(PROJECT* p) {
return;
}
// see if this is the project we'd ask for work anyway
// See if this is the project we'd ask for work anyway.
// Temporarily clear resource backoffs,
// since we're going to contact this project in any case.
//
double cpu_save = p->cpu_pwf.backoff_time;
double cuda_save = p->cuda_pwf.backoff_time;
p->cpu_pwf.backoff_time = 0;
p->cuda_pwf.backoff_time = 0;
PROJECT* pbest = choose_project();
p->cpu_pwf.backoff_time = cpu_save;
p->cuda_pwf.backoff_time = cuda_save;
if (p == pbest) return;
// if not, don't request any work
......
<?
$project_news = array(
array("February 27, 2009",
"We have rolled back to 6.4.5 for our latest stable version until 6.4.7 can be built. Something happened to 6.4.6 on our mirrors."
),
array("February 17, 2009",
"A new add-on program for Windows,
<a href=http://boinc.berkeley.edu/addon_item.php?platform=win&item=http%3A%2F%2Fefmer.eu%2Fboinc%2F>TThrottle</a>,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment