canvas-lms/app/observers
Ethan Vizitei 7b130d163e optimize stream item generation
refs #CNVS-1291

break out of single record by record creation
and use bulk insert instead (also
had to take into account replicating
observer and lifecycle event behavior that was 
declared elsewhere)

TEST PLAN:
  Go to a large course and take some action
that generates stream items for all the students.
It should not take nearly as long now.

Change-Id: I8f40ccdcfc81e6edb44ac3b245d254b9376dd3b2
Reviewed-on: https://gerrit.instructure.com/15874
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Ethan Vizitei <ethan@12spokes.com>
QA-Review: Clare Hetherington <clare@instructure.com>
2012-12-11 16:23:34 -07:00
..
cacher.rb cache site admin permission lookups if it's the only one being queried 2012-10-25 08:51:49 -06:00
stream_item_cache.rb optimize stream item generation 2012-12-11 16:23:34 -07:00