Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid updating data in older courses that haven't been accessed in awhile #1422

Open
jonespm opened this issue Sep 2, 2022 · 1 comment
Open

Comments

@jonespm
Copy link
Member

jonespm commented Sep 2, 2022

Thank you for contributing to this project!

Describe your problem or feature you'd like added

Related a bit to #1327 and #827 it would be more efficient to only process course that have been accessed within the last X days.

Describe the solution you'd like

I think this might require adding a column to the courses table that will update something like a date_last_access whenever anyone goes to that course. And then in the verify_course_ids just doesn't process these courses if they haven't been accessed in X days. We could also rely on the eventlog_log table but the courses there are in JSON so would take a little more processing.

This probably isn't a high priority now but something we've talked about as more classes get added.

@jonespm jonespm changed the title Avoid updating data in courses that haven't been accessed Avoid updating data in older courses that haven't been accessed in awhile Sep 6, 2022
@jennlove-um
Copy link
Contributor

Add the date last accessed as a first step to getting this done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants