Since most of the json serialize work for the websocket was done multiple times for the same message, we can avoid the overhead of serializing the same message many times (once per websocket client) with a cache. |
||
---|---|---|
.. | ||
__init__.py | ||
auth.py | ||
commands.py | ||
connection.py | ||
const.py | ||
decorators.py | ||
error.py | ||
http.py | ||
manifest.json | ||
messages.py | ||
permissions.py | ||
sensor.py | ||
services.yaml |