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

Send last message on client connect rather than broadcast #4

Closed
wants to merge 1 commit into from

Conversation

JavierLuna
Copy link
Contributor

When a client joins the server, only that client needs the last_message and a broadcast to all is not really needed.

This avoid processing in the server side + makes the response frequency/events more expectable if that makes sense.

When a client joins the server, only that client needs the `last_message` and a broadcast to all is not really needed.
Copy link
Collaborator

@nicbou nicbou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was done to send the number of clients when someone connects. It's just not used by the current interface (it's too depressing to see that 100 other people are also looking).

@JavierLuna
Copy link
Contributor Author

Ah that makes total sense. I assume that information didn't need to be up to date real time and 3 min sufficed, as it was not used in the interface.

I'll close the PR, thanks for doing this project and for caring to improve the kafkaesque german bureaucracy. Please let me know how can I help on this front, enough tears spent in the Burgeramt already 🥲

@JavierLuna JavierLuna closed this Aug 5, 2022
@JavierLuna JavierLuna deleted the send-on-connect branch August 5, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants