mirror of
https://github.com/django/daphne.git
synced 2025-07-29 16:39:46 +03:00
change test
This commit is contained in:
parent
9701e336fa
commit
62e25f7201
|
@ -385,7 +385,7 @@ class HTTPFactory(http.HTTPFactory):
|
||||||
# WebSocket timeout checking and keepalive ping sending
|
# WebSocket timeout checking and keepalive ping sending
|
||||||
elif isinstance(protocol, WebSocketProtocol):
|
elif isinstance(protocol, WebSocketProtocol):
|
||||||
# Timeout check
|
# Timeout check
|
||||||
if protocol.duration() > self.websocket_timeout and self.websocket_timeout > -1:
|
if protocol.duration() > self.websocket_timeout and self.websocket_timeout >= 0:
|
||||||
protocol.serverClose()
|
protocol.serverClose()
|
||||||
# Ping check
|
# Ping check
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user