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
d448aa13
Commit
d448aa13
authored
Mar 27, 2013
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debug log messages
parent
446397b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
common/lib/xmodule/xmodule/modulestore/mongo.py
+0
-4
No files found.
common/lib/xmodule/xmodule/modulestore/mongo.py
View file @
d448aa13
...
...
@@ -339,20 +339,16 @@ class MongoModuleStore(ModuleStoreBase):
if
not
force_refresh
:
# see if we are first in the request cache (if present)
if
self
.
request_cache
is
not
None
and
key
in
self
.
request_cache
.
data
.
get
(
'metadata_inheritance'
,
{}):
logging
.
debug
(
'***** HIT IN REQUEST CACHE'
)
return
self
.
request_cache
.
data
[
'metadata_inheritance'
][
key
]
# then look in any caching subsystem (e.g. memcached)
if
self
.
metadata_inheritance_cache_subsystem
is
not
None
:
tree
=
self
.
metadata_inheritance_cache_subsystem
.
get
(
key
,
{})
if
tree
:
logging
.
debug
(
'***** HIT IN MEMCACHED'
)
else
:
logging
.
warning
(
'Running MongoModuleStore without a metadata_inheritance_cache_subsystem. This is OK in localdev and testing environment. Not OK in production.'
)
if
not
tree
:
# if not in subsystem, or we are on force refresh, then we have to compute
logging
.
debug
(
'***** COMPUTING METADATA'
)
tree
=
self
.
compute_metadata_inheritance_tree
(
location
)
# now populate a request_cache, if available
...
...
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