digilines
digilines copied to clipboard
How do I prevent the server from becoming overwelmed in the event of a loop?
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.