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

feat: use websockets to update info on pages #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lmaotrigine
Copy link
Member

Fixes #23

Well, sort of. This currently does what I do in my rewrite (just send the JSON every second). Ideally, I'm thinking this should only send messages when the stats actually update, but then the interactive update of the relative times should be handled client-side, just like earlier so I'm undecided on whether to implement that or not.

In either case, this is an improvement over making an API request every second.

@5HT2
Copy link
Member

5HT2 commented Aug 10, 2023

Oh thank you! I actually had websockets in mind once I realized gRPC was silly for this.
Also - I'll dm you about reviewing your rewrite.

@5HT2 5HT2 self-assigned this Aug 10, 2023
@5HT2 5HT2 added enhancement New feature or request good first issue Good for newcomers labels Aug 10, 2023
@lmaotrigine
Copy link
Member Author

great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use streaming connection for live updates
2 participants