Cache generation of the service descriptions (#93131)

This commit is contained in:
J. Nick Koston 2023-05-16 21:42:37 -05:00 committed by GitHub
parent 6c56ceead0
commit b993fe1c9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 86 additions and 45 deletions

View file

@ -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: