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

DM-45331: Manage cases when yesterday's movie needs to be picked up immediately #210

Merged
merged 8 commits into from
Sep 3, 2024

Conversation

ugyballoons
Copy link
Collaborator

The poller for the current objects only looks in the bucket for objects prefixed with the current day so if a movie is generated the day after, it won't be picked up until the daily historical poll has been completed.
This PR adds a mechanism whereby, if no more current data has been taken for the new day, the poller will look for 'per day' data (e.g. movies) to add to the previous day's page without the need for the client to refresh the page.

Copy link
Collaborator

@sebastian-aranda sebastian-aranda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job @ugyballoons ! I left some minor comments, but this looks good to me 👍.

tests/background/currentpoller_test.py Outdated Show resolved Hide resolved
@ugyballoons ugyballoons merged commit a0fd509 into develop Sep 3, 2024
5 checks passed
@ugyballoons ugyballoons deleted the tickets/DM-45331 branch September 3, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants