From 9a438d64445da6da830dd7dd762816b28e4e8740 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 25 Jan 2006 22:48:02 +0000 Subject: [PATCH] deferral messages svn path=/trunk/boinc/; revision=9316 --- checkin_notes | 6 ++++++ client/cs_scheduler.C | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/checkin_notes b/checkin_notes index 2fdcffcf80..92d1e02266 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index 8a44c92d1b..b2ff9bbb5c 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -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; }