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;