Commit 6ce3493f by Chris Dodge

add comment

parent a81e9a67
......@@ -66,6 +66,7 @@ class CachingDescriptorSystem(MakoDescriptorSystem):
if json_data is None:
module = self.modulestore.get_item(location)
if module is not None:
# update our own cache after going to the DB to get cache miss
self.module_data.update(module.system.module_data)
return module
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment