Skip to content

Conversation

@jhobz
Copy link
Contributor

@jhobz jhobz commented Mar 10, 2022

See LiveSplit/LiveSplit.Server#39 for more
details.

Also fixes a bug (or rather just weird edge case interaction) with the socket data listener where multiple messages would get combined into one at very fast polling rates. I was able to run .getAll() every 5ms without errors at my fastest testing with these changes.

jhobz added 3 commits March 9, 2022 13:05
This is to coincide with a change to the LiveSplit.Server repo
At very fast polling intervals, the socket will sometimes send more than
one message from the server in a single 'data' event. This change
gracefully handles these edge cases, resulting in successful tests at as
fast as polling every 5ms.
@satanch
Copy link
Owner

satanch commented Mar 10, 2022

Thank you for your PR!
I need some time to check this.

@satanch
Copy link
Owner

satanch commented Mar 10, 2022

Also, new LiveSplit server version must be released before I merge this into main branch.

@jhobz
Copy link
Contributor Author

jhobz commented Mar 10, 2022

Yeah, for sure, no worries!

@satanch
Copy link
Owner

satanch commented Feb 4, 2024

This PR is pretty outdated. Let's coma back to this issue when server changes would be applied.

@satanch satanch closed this Feb 4, 2024
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.

2 participants