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

Announce currently active "daily challenge" playlist to clients #234

Merged
merged 6 commits into from
May 23, 2024

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented May 17, 2024

This adds a DailyChallengeUpdater that polls the database every minute (interval obviously negotiable) to check whether the current active "daily challenge" room changed, and announces that to all clients if it did.

Additionally, on connection to MetadataHub, the metadata hub sends the current "daily challenge" info to the newly-connected client using state stored in the DailyChallengeUpdater.

@peppy peppy merged commit 89fd2a1 into ppy:master May 23, 2024
2 checks passed
@bdach bdach deleted the daily-challenge branch May 23, 2024 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants