mitodl / mitxonline

BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Add task for creating featured items in cache #2203

Closed JenniWhitman closed 3 months ago

JenniWhitman commented 3 months ago

What are the relevant tickets?

Updates https://github.com/mitodl/hq/issues/4029

Description (What does it do?)

Adds an offset, single run cron task that runs every minute to check if the items exist and update if not. This is offset by 30 seconds so it gives some space for the similar google sheets task.

How can this be tested?

Run the app and see that the cron is running in the celery logs. There should be adequate logging to view this manually.