From c7822ecb79a638e33bad3222b8a3933e5fca2757 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 25 Apr 2007 20:25:23 +0000 Subject: [PATCH] David 25 Apr 2007 - eliminate spurious "work fetch too big" message client/ work_fetch.C svn path=/trunk/boinc/; revision=12478 --- checkin_notes | 5 +++++ client/work_fetch.C | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 7fe096eb55..f0c84123fc 100755 --- a/checkin_notes +++ b/checkin_notes @@ -3992,3 +3992,8 @@ Eric K 24 Apr 07 cs_scheduler.C client_state.h +David 25 Apr 2007 + - eliminate spurious "work fetch too big" message + + client/ + work_fetch.C diff --git a/client/work_fetch.C b/client/work_fetch.C index 80a766797c..80eaca5e29 100644 --- a/client/work_fetch.C +++ b/client/work_fetch.C @@ -579,7 +579,8 @@ bool CLIENT_STATE::compute_work_requests() { // sanity check // - double x = work_buf_total()*ncpus; + double x = 1.01*work_buf_total()*ncpus; + // the 1.01 is for round-off error if (pbest->work_request > x) { msg_printf(NULL, MSG_INTERNAL_ERROR, "Proposed work request %f bigger than max %f",