From db08d30fee8d0e2f339558a742ee70ddd7089ef6 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 21 Aug 2007 20:41:29 +0000 Subject: [PATCH] - scheduler: update host.n_bwdown (this was omitted for some reason). From Kevin Reed. svn path=/trunk/boinc/; revision=13431 --- checkin_notes | 8 ++++++++ db/boinc_db.C | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/checkin_notes b/checkin_notes index fc7b00f035..f9db5756db 100755 --- a/checkin_notes +++ b/checkin_notes @@ -8049,3 +8049,11 @@ David 21 Aug 2007 db_purge.C handle_request.C sched_send.C + +David 21 Aug 2007 + - scheduler: update host.n_bwdown + (this was omitted for some reason). + From Kevin Reed. + + db/ + boinc_db.C diff --git a/db/boinc_db.C b/db/boinc_db.C index 4872cd3eba..cfd85c8d14 100644 --- a/db/boinc_db.C +++ b/db/boinc_db.C @@ -578,6 +578,10 @@ int DB_HOST::update_diff(HOST& h) { sprintf(buf, " d_boinc_max=%f,", d_boinc_max); strcat(updates, buf); } + if (n_bwdown != h.n_bwdown) { + sprintf(buf, " n_bwdown=%f,", n_bwdown); + strcat(updates, buf); + } if (n_bwup != h.n_bwup) { sprintf(buf, " n_bwup=%f,", n_bwup); strcat(updates, buf);