mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 15:55:49 -04:00
add comment re fix
This commit is contained in:
parent
c40eb17935
commit
28b8149963
@ -200,6 +200,9 @@ class WebsockReceiverThread(threading.Thread):
|
||||
# ping_timeout is used as the timeout for the call to select.select()
|
||||
# in addition to its documented purpose, and must have a value to avoid
|
||||
# hangs in certain situations
|
||||
#
|
||||
# skip_ut8_validation is a recommended performance improvement:
|
||||
# https://websocket-client.readthedocs.io/en/latest/faq.html#why-is-this-library-slow
|
||||
self.websock.run_forever(
|
||||
sockopt=((socket.IPPROTO_TCP, socket.TCP_NODELAY, 1),),
|
||||
ping_timeout=0.5,
|
||||
|
Loading…
x
Reference in New Issue
Block a user