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

Track client session in DB #9

Open
1 of 3 tasks
Kangaroux opened this issue Jun 3, 2024 · 0 comments
Open
1 of 3 tasks

Track client session in DB #9

Kangaroux opened this issue Jun 3, 2024 · 0 comments
Labels

Comments

@Kangaroux
Copy link
Owner

Kangaroux commented Jun 3, 2024

  • Establish some basic states clients can be in: disconnected, in queue, connected (authd), playing (realmd)
  • Update client row in sessions table
  • On realmd startup, all rows belonging to that realm in the sessions table should be removed

Self note: if at some point authd/realmd need to communicate in other ways beyond session keys, it probably makes sense to add an API to realmd and drop the sessions table all together. An API opens up possibilities for remote administration, querying (displaying pop on a webpage), etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant