- client: comment out update_rec() call

svn path=/trunk/boinc/; revision=22631
This commit is contained in:
David Anderson 2010-11-05 18:02:34 +00:00
parent 8aa29bec33
commit 7d3d8adc73
2 changed files with 10 additions and 1 deletions

View File

@ -584,7 +584,9 @@ void CLIENT_STATE::adjust_debts() {
work_fetch.accumulate_inst_sec(atp, elapsed_time);
}
#if 0
update_rec();
#endif
cpu_work_fetch.update_long_term_debts();
cpu_work_fetch.update_short_term_debts();

View File

@ -632,7 +632,14 @@ static inline int check_deadline(
// and it's not a hard app.
// (i.e. everyone gets one result, no matter how slow they are)
//
if (get_estimated_delay(bav) == 0 && !hard_app(app)) return 0;
if (get_estimated_delay(bav) == 0 && !hard_app(app)) {
if (config.debug_send) {
log_messages.printf(MSG_NORMAL,
"[send] est delay 0, skipping deadline check\n"
);
}
return 0;
}
// if it's a hard app, don't send it to a host with no credit
//