platypush/platypush/backend/http
Fabio Manganiello ca030c9b25 Websocket notifications delivery should be thread-safe.
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.
2020-02-06 01:04:36 +01:00
..
app Added /plugin/<plugin_name> route for single plugin view (see #83) 2020-01-23 00:27:36 +01:00
media New media webplugin WIP 2019-06-22 19:05:17 +02:00
poll Always define msg so the function doesn't fail on exception 2018-10-25 20:46:34 +02:00
request Moved imports for extra dependencies inside the methods where they are actually used 2019-12-01 23:35:05 +01:00
static Websocket notifications delivery should be thread-safe. 2020-02-06 01:04:36 +01:00
templates Using /#[plugin.name] as a URL hint for selecting a tab on load. 2020-01-31 20:29:47 +01:00
__init__.py Websocket notifications delivery should be thread-safe. 2020-02-06 01:04:36 +01:00
utils.py Include dev version of vue.js if available in the HTTP static/js 2019-12-01 16:33:48 +01:00
uwsgi.py Added uWSGI optional dependency for HTTP backend 2019-02-24 12:35:26 +01:00