mirror of https://github.com/BOINC/boinc.git
- client: fix bug that caused infinite sched RPCs if project down
svn path=/trunk/boinc/; revision=17127
This commit is contained in:
parent
8918e4cb62
commit
5eeb9c0815
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue