Skip to content
Snippets Groups Projects
Commit 13c894eb authored by Calen Pennington's avatar Calen Pennington
Browse files

Remove extraneous configuration

parent 7c758ec9
No related merge requests found
......@@ -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
......
......@@ -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': {
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment