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
51abe89a
Commit
51abe89a
authored
Jun 12, 2017
by
Adam Palay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
respond to comments
parent
69d76b69
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
cms/envs/aws.py
+1
-1
lms/envs/aws.py
+1
-1
openedx/core/djangoapps/coursegraph/tasks.py
+1
-2
No files found.
cms/envs/aws.py
View file @
51abe89a
...
...
@@ -500,4 +500,4 @@ AFFILIATE_COOKIE_NAME = ENV_TOKENS.get('AFFILIATE_COOKIE_NAME', AFFILIATE_COOKIE
HELP_TOKENS_BOOKS
=
ENV_TOKENS
.
get
(
'HELP_TOKENS_BOOKS'
,
HELP_TOKENS_BOOKS
)
############## Settings for CourseGraph ############################
COURSEGRAPH_JOB_QUEUE
=
LOW_PRIORITY_QUEUE
COURSEGRAPH_JOB_QUEUE
=
ENV_TOKENS
.
get
(
'COURSEGRAPH_JOB_QUEUE'
,
LOW_PRIORITY_QUEUE
)
lms/envs/aws.py
View file @
51abe89a
...
...
@@ -1001,4 +1001,4 @@ COURSES_API_CACHE_TIMEOUT = ENV_TOKENS.get('COURSES_API_CACHE_TIMEOUT', COURSES_
ICP_LICENSE
=
ENV_TOKENS
.
get
(
'ICP_LICENSE'
,
None
)
############## Settings for CourseGraph ############################
COURSEGRAPH_JOB_QUEUE
=
LOW_PRIORITY_QUEUE
COURSEGRAPH_JOB_QUEUE
=
ENV_TOKENS
.
get
(
'COURSEGRAPH_JOB_QUEUE'
,
LOW_PRIORITY_QUEUE
)
openedx/core/djangoapps/coursegraph/tasks.py
View file @
51abe89a
...
...
@@ -225,7 +225,7 @@ def should_dump_course(course_key, graph):
return
last_this_command_was_run
<
course_last_published_date
@task
@task
(
routing_key
=
settings
.
COURSEGRAPH_JOB_QUEUE
)
def
dump_course_to_neo4j
(
course_key_string
,
credentials
):
"""
Serializes a course and writes it to neo4j.
...
...
@@ -341,7 +341,6 @@ class ModuleStoreSerializer(object):
dump_course_to_neo4j
.
apply_async
(
args
=
[
six
.
text_type
(
course_key
),
credentials
],
routing_key
=
settings
.
COURSEGRAPH_JOB_QUEUE
,
)
submitted_courses
.
append
(
six
.
text_type
(
course_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