Cache generation of the service descriptions (#93131)
This commit is contained in:
parent
6c56ceead0
commit
b993fe1c9d
6 changed files with 86 additions and 45 deletions
|
@ -135,7 +135,8 @@ class WebSocketHandler:
|
|||
)
|
||||
messages_remaining -= 1
|
||||
|
||||
coalesced_messages = "[" + ",".join(messages) + "]"
|
||||
joined_messages = ",".join(messages)
|
||||
coalesced_messages = f"[{joined_messages}]"
|
||||
debug("Sending %s", coalesced_messages)
|
||||
await send_str(coalesced_messages)
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue