Skip to content

Commit

Permalink
Use tuple instead of list for default compressions
Browse files Browse the repository at this point in the history
  • Loading branch information
albertas committed Aug 3, 2021
1 parent a9a2cb1 commit d120da8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daphne/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ def __init__(
request_buffer_size=8192,
websocket_timeout=86400,
websocket_connect_timeout=20,
websocket_permessage_compression_extensions=[
websocket_permessage_compression_extensions=(
"permessage-deflate",
"permessage-bzip2",
"permessage-snappy",
],
),
ping_interval=20,
ping_timeout=30,
root_path="",
Expand Down

0 comments on commit d120da8

Please sign in to comment.