From 8f82cea5fdf79f6011f18327459d75bc5fe4329a Mon Sep 17 00:00:00 2001 From: Jeff Cobb Date: Tue, 31 Aug 2004 23:45:07 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4132 --- checkin_notes | 7 +++++++ sched/assimilator.C | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index e857c7ea80..16ca73a44e 100755 --- a/checkin_notes +++ b/checkin_notes @@ -16820,3 +16820,10 @@ David 31 Aug 2004 main.C sched_send.C sched_shmem.h + +Jeff 31 Aug 2004 + - limit workunit enumeration in the assimilator to 1000. + + sched/ + assimilator.C + diff --git a/sched/assimilator.C b/sched/assimilator.C index af912d4d02..11cbced5a4 100644 --- a/sched/assimilator.C +++ b/sched/assimilator.C @@ -57,7 +57,7 @@ bool do_pass(APP& app) { check_stop_daemons(); - sprintf(buf, "where appid=%d and assimilate_state=%d", app.id, ASSIMILATE_READY); + sprintf(buf, "where appid=%d and assimilate_state=%d limit 1000", app.id, ASSIMILATE_READY); while (!wu.enumerate(buf)) { vector results; // must be inside while()! did_something = true;