Remove thread safety warning: problem was nonexsistent ¯\_(ツ)_/¯

This commit is contained in:
Kristóf Tóth 2018-02-05 14:23:46 +01:00
parent 654a732368
commit de6e23e512

View File

@ -9,10 +9,8 @@ log = logging.getLogger(__name__)
class ZMQWebSocketHandler(WebSocketHandler): class ZMQWebSocketHandler(WebSocketHandler):
_event_handler_connector = EventHandlerConnector() #----. _event_handler_connector = EventHandlerConnector()
# TODO: investigate thread safety! <-----------------'
# ZMQ sockets shared between several WebSocketHandler instances
# http://pyzmq.readthedocs.io/en/latest/morethanbindings.html#thread-safety
def __init__(self, application, request, **kwargs): def __init__(self, application, request, **kwargs):
super().__init__(application, request, **kwargs) super().__init__(application, request, **kwargs)