Open andreiolaru-ro opened 2 years ago
useThread
. It would appear that the thread and the message queue are not actually ever used - message received bypass the queue and go directly to their receivers.
The thread is useful in the case of intensive communication within the same pylon, as the sender and the receiver cannot stay in the same thread (may lead to deadlocks and performance issues as execution for the sender is blocked while the receiver processes the message.
I don't think it is useful to have a separate map of not to websocket in WebSocketServer, node could be registered as normal entities.