Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
7ce1da9c
Commit
7ce1da9c
authored
Jul 27, 2017
by
David Ormsbee
Committed by
GitHub
Jul 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15680 from edx/ormsbee/readd_to_bt_cache_on_miss
Re-add to BlockStructure cache on miss.
parents
835cc087
39a7c095
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
openedx/core/djangoapps/content/block_structure/store.py
+1
-0
No files found.
openedx/core/djangoapps/content/block_structure/store.py
View file @
7ce1da9c
...
...
@@ -93,6 +93,7 @@ class BlockStructureStore(object):
serialized_data
=
self
.
_get_from_cache
(
bs_model
)
except
BlockStructureNotFound
:
serialized_data
=
self
.
_get_from_store
(
bs_model
)
self
.
_add_to_cache
(
serialized_data
,
bs_model
)
return
self
.
_deserialize
(
serialized_data
,
root_block_usage_key
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment