forked from platypush/platypush
ca030c9b25
If multiple threads process events and notify the websocket clients at the same time then we may end up with inconsistent messages delivered on the websocket (and websockets is not designed to handle such cases). Protecting the send call with a per-socket lock makes sure that we only write one message at the time for a certain client. |
||
---|---|---|
.. | ||
app | ||
media | ||
poll | ||
request | ||
static | ||
templates | ||
__init__.py | ||
utils.py | ||
uwsgi.py |