hass-core/homeassistant/components/websocket_api
J. Nick Koston dbb5645e63
Significantly reduce websocket api connection auth phase latency (#108564)
* Significantly reduce websocket api connection auth phase latancy

Since the auth phase has exclusive control over the websocket
until ActiveConnection is created, we can bypass the queue and
send messages right away. This reduces the latancy and reconnect
time since we do not have to wait for the background processing
of the queue to send the auth ok message.

* only start the writer queue after auth is successful
2024-01-21 22:33:31 -05:00
..
__init__.py
auth.py Significantly reduce websocket api connection auth phase latency (#108564) 2024-01-21 22:33:31 -05:00
commands.py Avoid bytes to string to bytes conversion in websocket api (#108139) 2024-01-16 21:37:34 +01:00
connection.py Avoid bytes to string to bytes conversion in websocket api (#108139) 2024-01-16 21:37:34 +01:00
const.py
decorators.py
error.py
http.py Significantly reduce websocket api connection auth phase latency (#108564) 2024-01-21 22:33:31 -05:00
manifest.json
messages.py Avoid bytes to string to bytes conversion in websocket api (#108139) 2024-01-16 21:37:34 +01:00
sensor.py
services.yaml
strings.json
util.py