mirror of https://github.com/BOINC/boinc.git
- client: fix message: "idle instance" => "starved"
svn path=/trunk/boinc/; revision=17451
This commit is contained in:
parent
456d517640
commit
ce62c8ace5
|
@ -2557,3 +2557,9 @@ Rom 3 Mar 2009
|
|||
|
||||
curl/
|
||||
<Various Files>
|
||||
|
||||
David 3 Mar 2009
|
||||
- client: fix message: "idle instance" => "starved"
|
||||
|
||||
client/
|
||||
work_fetch.cpp
|
||||
|
|
|
@ -161,10 +161,10 @@ PROJECT* RSC_WORK_FETCH::choose_project(int criterion) {
|
|||
|
||||
switch (criterion) {
|
||||
case FETCH_IF_DEVICE_IDLE:
|
||||
if (!nidle_now) return NULL;
|
||||
if (nidle_now == 0) return NULL;
|
||||
break;
|
||||
case FETCH_IF_SHORTFALL:
|
||||
if (!shortfall) return NULL;
|
||||
if (shortfall == 0) return NULL;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -217,7 +217,7 @@ PROJECT* RSC_WORK_FETCH::choose_project(int criterion) {
|
|||
case FETCH_IF_PROJECT_STARVED:
|
||||
if (log_flags.work_fetch_debug) {
|
||||
msg_printf(pbest, MSG_INFO,
|
||||
"chosen: %s idle instance", rsc_name(rsc_type)
|
||||
"chosen: %s starved", rsc_name(rsc_type)
|
||||
);
|
||||
}
|
||||
req = share_request(pbest);
|
||||
|
|
Loading…
Reference in New Issue