Server: minify cmd json

This saves between 7 and 15% where compression is unavailable.
This commit is contained in:
black-sliver 2022-06-20 03:00:53 +02:00 committed by Fabian Dill
parent 6970c5ce97
commit 03e9034a98
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ def _scan_for_TypedTuples(obj: typing.Any) -> typing.Any:
_encode = JSONEncoder(
ensure_ascii=False,
check_circular=False,
separators=(',', ':'),
).encode