diff --git a/checkin_notes b/checkin_notes index f700e8e207..95d39aa602 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/work_fetch.cpp b/client/work_fetch.cpp index 71f108759d..35417b232e 100644 --- a/client/work_fetch.cpp +++ b/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; }