Skip to content
Snippets Groups Projects
Commit b5203717 authored by Matthew Piatetsky's avatar Matthew Piatetsky
Browse files

Change how we get course ids to avoid memory issues

parent cccd6e8f
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,6 @@ def export_course_metadata_for_all_courses():
"""
Export course metadata for all courses
"""
module_store = modulestore()
courses = module_store.get_courses()
courses = modulestore().get_course_summaries()
for course in courses:
export_course_metadata_task.delay(str(course.id))
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