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

Clean empty, day old, lobbies on a 30min timer. #63

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Conversation

koenbollen
Copy link
Collaborator

Currently all lobbies stay in the database even if they are empty. This change introduces a simple timer that deletes day old empty lobbies every 30 minutes.

This is needed for better lobby listing (filters, private etc) in the future.

Also snuck in the disabling of websocket compression, see coder/websocket#218 (comment)

(also snuck in the disabling of websocket compression, see coder/websocket#218 (comment))
@koenbollen koenbollen linked an issue Oct 4, 2023 that may be closed by this pull request
@koenbollen koenbollen merged commit aac100f into main Oct 11, 2023
1 check passed
@koenbollen koenbollen deleted the lobby-cleanup branch October 11, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Clean up old lobbies
2 participants