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

How do I prevent the server from becoming overwelmed in the event of a loop? #91

Open
Darin755 opened this issue Jan 5, 2025 · 0 comments

Comments

@Darin755
Copy link

Darin755 commented Jan 5, 2025

I am working a digiline routing mod and one of the issues I am concerned about is what happens if a loop forms. I have system in place that should help to prevent loops but I want a fail safe just in case a loop forms. Would a send buffer be enough to stop the server from crashing? I could create a simple Queue that has a max size and if it fills up incoming messages will be dropped. to empty the Queue I could have a separate function that sends out digiline messages every server tick.

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

No branches or pull requests

1 participant