Skip to content

Commit

Permalink
fix-#1856: timeout -> close_timeout due to deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBord committed Jun 21, 2020
1 parent 9c9137d commit 5387b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sanic/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async def websocket_handshake(self, request, subprotocols=None):

# hook up the websocket protocol
self.websocket = WebSocketCommonProtocol(
timeout=self.websocket_timeout,
close_timeout=self.websocket_timeout,
max_size=self.websocket_max_size,
max_queue=self.websocket_max_queue,
read_limit=self.websocket_read_limit,
Expand Down

0 comments on commit 5387b2f

Please sign in to comment.