-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stale course enrollment handling to pipeline
What's included here is a generator to yield CourseEnrollment records that need to have their EnrollmentData records updated If we install Figures on a site that's already been running or we miss a day or more in processing, then the daily processing will not pick up on all "stale enrollments", enrollments that Figures EnrollmentData record updated. This is because Figures daily metrics jobs only look at "yesterday" in order to work around the limitations of StudentModule. The real logic is in `figures.enrollment.is_enrollment_data_out_of_date` (Which is still pretty simple)
- Loading branch information
1 parent
2566818
commit ded1349
Showing
2 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters