- client: fix bug in mechanism that defers work request until

pending uploads are finished.
    Due to a typo, this was not being done.

svn path=/trunk/boinc/; revision=23047
This commit is contained in:
David Anderson 2011-02-16 19:44:38 +00:00
parent 457d1fdac3
commit 3928100518
2 changed files with 9 additions and 1 deletions

View File

@ -831,3 +831,11 @@ David 16 Feb 2011
client/ client/
client_types.cpp client_types.cpp
David 16 Feb 2011
- client: fix bug in mechanism that defers work request until
pending uploads are finished.
Due to a typo, this was not being done.
client/
cs_scheduler.cpp

View File

@ -451,8 +451,8 @@ bool CLIENT_STATE::scheduler_rpc_poll() {
"[wfd] deferring work fetch; upload active, started %d sec ago", "[wfd] deferring work fetch; upload active, started %d sec ago",
(int)(gstate.now - p->last_upload_start) (int)(gstate.now - p->last_upload_start)
); );
return false;
} }
return false;
} }
scheduler_op->init_op_project(p, RPC_REASON_NEED_WORK); scheduler_op->init_op_project(p, RPC_REASON_NEED_WORK);
return true; return true;