Allow WS queue to temporarily peak (#34175)
* Allow WS queue to temporarily peak * Remove unused code
This commit is contained in:
1 parent
dbcc294d67
commit
bea354b82a
6 files changed
+116
-34
No files matched your search
@@ -16,7 +16,9 @@ WebSocketCommandHandler = Callable[[HomeAssistant, "ActiveConnection", dict], No
|
||||
|
||||
DOMAIN = "websocket_api"
|
||||
URL = "/api/websocket"
|
||||
MAX_PENDING_MSG = 512
|
||||
PENDING_MSG_PEAK = 512
|
||||
PENDING_MSG_PEAK_TIME = 5
|
||||
MAX_PENDING_MSG = 2048
|
||||
|
||||
ERR_ID_REUSE = "id_reuse"
|
||||
ERR_INVALID_FORMAT = "invalid_format"
|
||||
|
||||
Reference in new issue
Block a user