-
Richard Mansfield authored
In commit 28599c24 , the rebuild_artefact_parent_cache_complete cron job was rewritten to process artefacts in groups of 5000 owners. This limit is too high; I've seen the cron script run out of memory when trying to process ~50000 artefacts in memory at once. This change makes the memory usage more predictable by trying to limit the number of artefacts pulled into memory rather than the number of owners, which is often not a good approximation. Change-Id: If63dec213e9794e86f37461166eb0530a407e086 Signed-off-by: Richard Mansfield <richard.mansfield@catalyst.net.nz>
042f0da9