- client: fix bug that caused infinite sched RPCs if project down

svn path=/trunk/boinc/; revision=17127
This commit is contained in:
David Anderson 2009-02-03 18:08:40 +00:00
parent 8918e4cb62
commit 5eeb9c0815
3 changed files with 8 additions and 1 deletions

View File

@ -1079,3 +1079,10 @@ David 2 Feb 2009
DlgItemProperties.cpp
html/ops/
autolock.php
David 3 Feb 2009
- client: fix bug that caused infinite sched RPCs if project down
client/
cs_scheduler.cpp
scheduler_op.cpp

View File

@ -853,7 +853,6 @@ int CLIENT_STATE::handle_scheduler_reply(PROJECT* project, char* scheduler_url)
}
project->send_time_stats_log = sr.send_time_stats_log;
project->send_job_log = sr.send_job_log;
project->sched_rpc_pending = 0;
project->trickle_up_pending = false;
// The project returns a hostid only if it has created a new host record.

View File

@ -459,6 +459,7 @@ bool SCHEDULER_OP::poll() {
}
}
} else {
cur_proj->sched_rpc_pending = 0;
retval = gstate.handle_scheduler_reply(cur_proj, scheduler_url);
switch (retval) {
case 0: