From f3cdbc0d35bab798d2fda21c6d3011909f0ddccf Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 8 Mar 2004 02:29:33 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3039 --- checkin_notes | 6 ++++++ client/cs_scheduler.C | 18 +----------------- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/checkin_notes b/checkin_notes index 1e856efe8c..1210019a5f 100755 --- a/checkin_notes +++ b/checkin_notes @@ -10384,3 +10384,9 @@ Rom Mar 5 2004 doc/ contact.php + +Rom Mar 6 2004 + - I am backing out a change by John Keck until a server RPC overload problem is fixed. + + client/ + cs_scheduler.c diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index 95e25f176b..c7d4049d35 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -53,23 +53,7 @@ const int SECONDS_BEFORE_REPORTING_MIN_RPC_TIME_AGAIN = 60*60; -//Edits to change when the client considers a result to be at its deadline -//it was originally 6 hours as defined in _BASE -//if I did this right it will use the connected fraction to modify that amount -//a 100% connected client will use the base figure, a 0% connected client will -//use the base figure times the multiplier in addition to the base figure. -//The figures I have here will produce a maximum time before deadline of -//18 hours. 6*2=12+6=18 for debugging that may be too much but -//it may not be enough for release. -// jkeck -const int SECONDS_BEFORE_REPORT_DEADLINE_TO_REPORT_BASE = 60*60*6; -const double DEADLINE_TO_REPORT_MULTIPLIER = 2.0; -const double SECONDS_BEFORE_REPORT_DEADLINE_TO_REPORT = - (SECONDS_BEFORE_REPORT_DEADLINE_TO_REPORT_BASE * - DEADLINE_TO_REPORT_MULTIPLIER * - (1-gstate.time_stats.connected_frac)) + - SECONDS_BEFORE_REPORT_DEADLINE_TO_REPORT_BASE; - +const int SECONDS_BEFORE_REPORT_DEADLINE_TO_REPORT = 60*60*6; // estimate the days of work remaining //