Temporarily disable bulk operations b/c old mongo

does too much work on exit and doesn't handle nesting
This commit is contained in:
Don Mitchell
2014-09-04 17:20:09 -04:00
parent 23d3a9187c
commit b28af4fdaa
5 changed files with 15 additions and 4 deletions

View File

@@ -110,7 +110,8 @@ class FieldDataCache(object):
return descriptors
with modulestore().bulk_operations(descriptor.location.course_key):
# FIXME
with modulestore().bulk_temp_noop_operations(descriptor.location.course_key):
descriptors = get_child_descriptors(descriptor, depth, descriptor_filter)
return FieldDataCache(descriptors, course_id, user, select_for_update)