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

Several changes #154

Merged
merged 7 commits into from
Jan 28, 2025
Merged

Several changes #154

merged 7 commits into from
Jan 28, 2025

Conversation

luator
Copy link
Member

@luator luator commented Jan 28, 2025

Major changes:

  • Do not update player ratings if game ended with disconnect
  • Add limit for number of parallel games.

The limit is currently set to 100, so pretty high, but it will allow us to easily reduce it if we notice performance issues on the server.

Do not update player ratings for games that ended due to a disconnect.
Those games are incomplete, so they should not go into the rating.
This method is intended to be called from outside, so should not be
marked as private.
The limit can be configured via the setting `max_parallel_games`.
Matchmaking simply returns early if the limit is reached.  Note that
this results in missing or incomplete match quality scores when the
limit is reached but I prefer this over a more complicated
implementation (those scores are anyway only relevant when games can be
started).
@luator luator added the enhancement New feature or request label Jan 28, 2025
@luator luator self-assigned this Jan 28, 2025
@luator luator merged commit 9b3c47c into main Jan 28, 2025
6 checks passed
@luator luator deleted the fkloss/various branch January 28, 2025 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant