deferral messages

svn path=/trunk/boinc/; revision=9316
This commit is contained in:
David Anderson 2006-01-25 22:48:02 +00:00
parent a0385f7a1a
commit 9a438d6444
2 changed files with 10 additions and 0 deletions

View File

@ -1008,3 +1008,9 @@ David 25 Jan 2006
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 25 Jan 2006
- core client: added "Deferring scheduler requests for X" messages
client/
cs_scheduler.C

View File

@ -86,6 +86,10 @@ int CLIENT_STATE::proj_min_results(PROJECT* p, double subset_resource_share) {
void PROJECT::set_min_rpc_time(double future_time) {
if (future_time > min_rpc_time) {
min_rpc_time = future_time;
msg_printf(this, MSG_INFO,
"Deferring scheduler requests for %s\n",
timediff_format(min_rpc_time - gstate.now).c_str()
);
}
min_report_min_rpc_time = 0;
}