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

record times when a user connects to and disconnects from the lobby in the database #4

Open
alicexigao opened this issue Apr 10, 2013 · 1 comment
Assignees

Comments

@alicexigao
Copy link
Member

right now, only the last time the user connects to the lobby is recorded. To allow us to compensate people if they wait in the lobby for too long, it would be ideal to use a separate table in the database to record all the timestamps for when a user connects to the lobby and when a user disconnects from the lobby.

@ghost ghost assigned mizzao Apr 10, 2013
@mizzao
Copy link
Member

mizzao commented May 24, 2013

We can't record every connect and disconnect from the lobby (without changing the schema significantly), but we can definitely associate one connect time with a session. Would it be better to keep the earliest or the most recent lobby time? Probably earliest, if you want to measure how long they had to wait in total?

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

No branches or pull requests

2 participants