- scheduler: maintain WORK_REQ::no_jobs_available correctly

for locality scheduling
- client: avoid spurious error message when parsing
    <proxy_info> from cc_config.xml

svn path=/trunk/boinc/; revision=19524
This commit is contained in:
David Anderson 2009-11-09 23:25:04 +00:00
parent a01966056f
commit 45aef88650
3 changed files with 14 additions and 0 deletions

View File

@ -8987,3 +8987,14 @@ David 9 Nov 2009
client/
cs_cmdline.cpp
David 9 Nov 2009
- scheduler: maintain WORK_REQ::no_jobs_available correctly
for locality scheduling
- client: avoid spurious error message when parsing
<proxy_info> from cc_config.xml
client/
log_flags.cpp
sched/
sched_locality.cpp

View File

@ -292,6 +292,7 @@ int CONFIG::parse_options(XML_PARSER& xp) {
if (!strcmp(tag, "proxy_info")) {
int retval = gstate.proxy_info.parse(*xp.f);
if (retval) return retval;
continue;
}
#endif
if (xp.parse_bool(tag, "report_results_immediately", report_results_immediately)) continue;

View File

@ -271,6 +271,8 @@ static int possibly_send_result(DB_RESULT& result) {
char buf[256];
BEST_APP_VERSION* bavp;
g_wreq->no_jobs_available = false;
retval = wu.lookup_id(result.workunitid);
if (retval) return ERR_DB_NOT_FOUND;