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
13c894eb
Commit
13c894eb
authored
Feb 04, 2014
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extraneous configuration
parent
7c758ec9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
11 deletions
+2
-11
lms/envs/common.py
+0
-4
lms/envs/test.py
+0
-4
lms/wsgi.py
+2
-3
No files found.
lms/envs/common.py
View file @
13c894eb
...
...
@@ -402,10 +402,6 @@ DOC_STORE_CONFIG = {
'collection'
:
'modulestore'
,
}
# Should we initialize the modulestores at startup, or wait until they are
# needed?
INIT_MODULESTORE_ON_STARTUP
=
True
############# XBlock Configuration ##########
# This should be moved into an XBlock Runtime/Application object
...
...
lms/envs/test.py
View file @
13c894eb
...
...
@@ -113,10 +113,6 @@ MODULESTORE = {
}
}
# Starting modulestores generates log messages. If we wait to init modulestores,
# then those messages will be silenced by the test runner.
INIT_MODULESTORE_ON_STARTUP
=
False
CONTENTSTORE
=
{
'ENGINE'
:
'xmodule.contentstore.mongo.MongoContentStore'
,
'DOC_STORE_CONFIG'
:
{
...
...
lms/wsgi.py
View file @
13c894eb
...
...
@@ -10,9 +10,8 @@ from xmodule.modulestore.django import modulestore
# Trigger a forced initialization of our modulestores since this can take a
# while to complete and we want this done before HTTP requests are accepted.
if
settings
.
INIT_MODULESTORE_ON_STARTUP
:
for
store_name
in
settings
.
MODULESTORE
:
modulestore
(
store_name
)
for
store_name
in
settings
.
MODULESTORE
:
modulestore
(
store_name
)
# This application object is used by the development server
...
...
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