mirror of https://github.com/BOINC/boinc.git
- 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
This commit is contained in:
parent
7d1edca650
commit
57bf393544
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue