Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
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
course-discovery
Commits
506e0d5b
Commit
506e0d5b
authored
Mar 07, 2017
by
Matthew Piatetsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn off real time index updates
ECOM-7392
parent
5e176bea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
course_discovery/settings/base.py
+2
-1
course_discovery/settings/shared/test.py
+4
-0
No files found.
course_discovery/settings/base.py
View file @
506e0d5b
...
...
@@ -430,7 +430,8 @@ HAYSTACK_CONNECTIONS = {
},
}
HAYSTACK_SIGNAL_PROCESSOR
=
'haystack.signals.RealtimeSignalProcessor'
# We are using BaseSignalProcessor to avoid overloading our production ES instance
HAYSTACK_SIGNAL_PROCESSOR
=
'haystack.signals.BaseSignalProcessor'
HAYSTACK_INDEX_RETENTION_LIMIT
=
3
# Elasticsearch search query facet "size" option to increase from the default value of "100"
...
...
course_discovery/settings/shared/test.py
View file @
506e0d5b
...
...
@@ -8,6 +8,10 @@ HAYSTACK_CONNECTIONS = {
},
}
# We are using RealtimeSignalProcessor because our tests depend on it being enabled
# and it does not cause performance issues for testing
HAYSTACK_SIGNAL_PROCESSOR
=
'haystack.signals.RealtimeSignalProcessor'
SYNONYMS_MODULE
=
'course_discovery.settings.test_synonyms'
EDX_DRF_EXTENSIONS
=
{
...
...
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