Use tuple instead of list for default compressions

This commit is contained in:
Albertas Gimbutas 2021-08-04 02:01:35 +03:00
parent a9a2cb1c09
commit d120da8d29

View File

@ -47,11 +47,11 @@ class Server:
request_buffer_size=8192, request_buffer_size=8192,
websocket_timeout=86400, websocket_timeout=86400,
websocket_connect_timeout=20, websocket_connect_timeout=20,
websocket_permessage_compression_extensions=[ websocket_permessage_compression_extensions=(
"permessage-deflate", "permessage-deflate",
"permessage-bzip2", "permessage-bzip2",
"permessage-snappy", "permessage-snappy",
], ),
ping_interval=20, ping_interval=20,
ping_timeout=30, ping_timeout=30,
root_path="", root_path="",