Commit 57bf3935 authored by David Anderson's avatar David Anderson

- client: debt_eligible() was returning false if the backoff was max.

    This can lead to a situation where a project never gets work.
    Remove that clause.

svn path=/trunk/boinc/; revision=17226
parent 7d1edca6
......@@ -1513,3 +1513,11 @@ Charlie 12 Feb 2009
clientscr/
screensaver.cpp
David 12 Feb 2009
- client: debt_eligible() was returning false if the backoff was max.
This can lead to a situation where a project never gets work.
Remove that clause.
client/
work_fetch.cpp
......@@ -514,7 +514,6 @@ bool RSC_PROJECT_WORK_FETCH::debt_eligible(PROJECT* p) {
if (p->dont_request_more_work) return false;
if (has_runnable_jobs) return true;
if (backoff_time > gstate.now) return false;
if (backoff_interval == MAX_BACKOFF_INTERVAL) return false;
if (p->min_rpc_time > gstate.now) return false;
return true;
}
......
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