mirror of https://github.com/BOINC/boinc.git
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:
parent
4e93059c55
commit
c7822ecb79
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue