An error occurred while loading the file. Please try again.
-
David Ormsbee authored
Doing modulestore lookups is expensive, so commit 695b0362 created a course_publish listener that would materialize the discussion ID to XBlock usage key mapping into the CourseDiscussionSettings model. However, the signal wasn't hooked up to the Studio process, so that async task was never called. When hooking it up, I also discovered that bok choy tests related to partitioning were failing because of a race condition where multiple processes are overwriting the discussion settings. To make sure this wasn't an issue, I moved the mapping to its own table. This is part of ARCH-111, and the overall Course Structures API deprecation.
72ed987d