Neil

Results 373 comments of Neil

If we were able to use `SO_REUSEPORT` then it might be possible to compare an incoming TCP connection against the list of configured `Peers`, such that they would be exempt...

Since this issue was rewritten, we've refactored a lot of the roomserver input API so that all of the input events are queued into JetStream. Since the room complexity is...

Probably related to the change in sorting algorithm to pattern-defeating quicksort in Go 1.19. https://tip.golang.org/doc/go1.19#sort

> I'm not a go programmer, but you'd think there would be a sort_unstable() to get the faster algorithm rather than breaking a bunch of things that depend on stability....

> I tried to save a permalink to a message in such a room, but the ID seems to contain the original home server as well. That sounds to be...

This is a correctness change. Right now, because different types of work are queued up in IP queues and handled by the `run` goroutine in an indeterminate order, it's possible...

I've added a unit test that proves that once `StepDown()` has returned, that the state is no longer a leader state. This currently fails usually on the first try on...

Fixed merge conflicts after other PRs merged.

Not convinced by this approach so closing, and AEs from the current leader will now cause the once-isolated node to switch to follower again as of #5481.

Please can you grab a memory profile? Without that, it is difficult to diagnose. Thanks!