Skip to content

Conversation

@MikhailDeriabin
Copy link
Collaborator

Brief description

Added /online-players/battleQueue GET endpoint, which returns online players with status BattleWait = players waiting to join the battle, in the right order number, where first are the players, being first in the queue and in the end the last.

Change list

  • Added /online-players/battleQueue GET endpoint
  • Moved next queue number from API code to Redis, so that there are no problems with syncing this number when API might be restarted, bit Redis not.

@MikhailDeriabin MikhailDeriabin requested a review from PlayJeri as a code owner May 21, 2025 14:06
@github-actions github-actions bot added feature New feature to add PR Pull request labels May 21, 2025
@github-actions github-actions bot added this to the Battle queue milestone May 21, 2025
@MikhailDeriabin MikhailDeriabin linked an issue May 21, 2025 that may be closed by this pull request
1 task
@MikhailDeriabin MikhailDeriabin enabled auto-merge May 21, 2025 14:08
@MikhailDeriabin MikhailDeriabin merged commit aa44f66 into dev May 21, 2025
@MikhailDeriabin MikhailDeriabin deleted the feature/add-battle-queue-endpoint-561 branch May 21, 2025 16:57
@github-project-automation github-project-automation bot moved this from Backlog to Done in Altzone-Server May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature to add PR Pull request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add /battleQueue GET endpoint

3 participants