Skip to content

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