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

Add support for incrementing global and beatmap playcounts #166

Merged
merged 6 commits into from
Nov 9, 2023

Conversation

peppy
Copy link
Member

@peppy peppy commented Nov 9, 2023

Covers osu_counts playcount, as well as beatmap and beatmap set level playcounts. All implemented using the same logic that as web-10.

personal reminder: consider backfilling these fields from solo_scores when deploying.

@pull-request-size pull-request-size bot added size/M and removed size/L labels Nov 9, 2023

AddBeatmap();

Task.Run(() =>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason why this is running in a Task that doesn't seem to be awaited anywhere? It almost looks like this task could still be running even after this test is complete, is that not the case?

Fwiw, I believe xunit tests can be public async Task

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah that's probably bad, will fix.

@peppy peppy merged commit 37a0d6f into ppy:master Nov 9, 2023
3 checks passed
@peppy peppy deleted the global-playcounts branch November 14, 2023 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants