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!

@5HT2
Copy link
Member

5HT2 commented Jan 21, 2026

Need to look into this, lgtm so far, is this a feature in the rust - rewrite already? @lmaotrigine

@lmaotrigine
Copy link
Member Author

lmaotrigine commented Jan 21, 2026

sort of, yes. the current implementation is just a placeholder and it just polls the database anyway. it's one of many things i want to get around to eventually, but i haven't really had time lately.

EDIT: just realised i did the same thing here lol, it's been so long.

@5HT2
Copy link
Member

5HT2 commented Jan 21, 2026

Ah got it, I understand! A lot of my projects have been on the backburner for so long, also for time reasons.

I will look into merging this and make a note for the future to improve this.

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