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

lower sleep time #19

Merged
merged 2 commits into from
Jun 29, 2023
Merged

lower sleep time #19

merged 2 commits into from
Jun 29, 2023

Conversation

GameParrot
Copy link
Contributor

should improve ping

@extremeheat
Copy link
Owner

Ah, good catch. Ideally we should have some sort of semaphore/mutex inside RakNet to properly synchronize the RakNet network and JS threads, as opposed to this kind of polling. This current change will spend more CPU cycles, however it seems better than passing down excess latency to users. Thanks for looking into it.

@extremeheat extremeheat merged commit 49800aa into extremeheat:master Jun 29, 2023
3 of 4 checks passed
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