David 25 Apr 2007

- eliminate spurious "work fetch too big" message

	client/
		work_fetch.C

svn path=/trunk/boinc/; revision=12478
This commit is contained in:
David Anderson 2007-04-25 20:25:23 +00:00
parent 4e93059c55
commit c7822ecb79
2 changed files with 7 additions and 1 deletions

View File

@ -3992,3 +3992,8 @@ Eric K 24 Apr 07
cs_scheduler.C cs_scheduler.C
client_state.h client_state.h
David 25 Apr 2007
- eliminate spurious "work fetch too big" message
client/
work_fetch.C

View File

@ -579,7 +579,8 @@ bool CLIENT_STATE::compute_work_requests() {
// sanity check // 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) { if (pbest->work_request > x) {
msg_printf(NULL, MSG_INTERNAL_ERROR, msg_printf(NULL, MSG_INTERNAL_ERROR,
"Proposed work request %f bigger than max %f", "Proposed work request %f bigger than max %f",