mirror of
https://github.com/django/daphne.git
synced 2024-11-24 17:03:42 +03:00
Use tuple instead of list for default compressions
This commit is contained in:
parent
a9a2cb1c09
commit
d120da8d29
|
@ -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="",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user