mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-20 03:48:28 -04:00
black'd
This commit is contained in:
parent
9185024050
commit
c40eb17935
1 changed files with 3 additions and 1 deletions
|
@ -201,7 +201,9 @@ class WebsockReceiverThread(threading.Thread):
|
||||||
# in addition to its documented purpose, and must have a value to avoid
|
# in addition to its documented purpose, and must have a value to avoid
|
||||||
# hangs in certain situations
|
# hangs in certain situations
|
||||||
self.websock.run_forever(
|
self.websock.run_forever(
|
||||||
sockopt=((socket.IPPROTO_TCP, socket.TCP_NODELAY, 1),), ping_timeout=0.5, skip_utf8_validation=True,
|
sockopt=((socket.IPPROTO_TCP, socket.TCP_NODELAY, 1),),
|
||||||
|
ping_timeout=0.5,
|
||||||
|
skip_utf8_validation=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
def _on_message(self, websock, message):
|
def _on_message(self, websock, message):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue