Artifact

# Pin the TCP address family for the connect (socket.AF_INET / AF_INET6), or # None to follow the OS default. Default the soak to AF_INET: on hosts with an # IPv6 default route, several venues' WS streams connect over IPv6 then go silent # mid-stream within ~10-20s (or time out the handshake), tripping the recv-idle # watchdog into a ~30s reconnect cycle. IPv4 streams cleanly. connect_kwargs = {"ping_interval": ping_interval, "ping_timeout": ping_timeout} if self._address_family is not None: connect_kwargs["family"] = self._address_family # -> websockets.connect(url, family=AF_INET)

64de5b54-21d2-4ab3-99e8-1de88ee0cdca

Pin the TCP address family for the connect (socket.AF_INET / AF_INET6), or

None to follow the OS default. Default the soak to AF_INET: on hosts with an

IPv6 default route, several venues' WS streams connect over IPv6 then go silent

mid-stream within ~10-20s (or time out the handshake), tripping the recv-idle

watchdog into a ~30s reconnect cycle. IPv4 streams cleanly.

connect_kwargs = {"ping_interval": ping_interval, "ping_timeout": ping_timeout} if self._address_family is not None: connect_kwargs["family"] = self._address_family # -> websockets.connect(url, family=AF_INET)

# Pin the TCP address family for the connect (socket.AF_INET / AF_INET6), or # None to follow the OS default. Default the soak to AF_INET: on hosts with an # IPv6 default route, several venues' WS streams connect over IPv6 then go silent # mid-stream within ~10-20s (or time out the handshake), tripping the recv-idle # watchdog into a ~30s reconnect cycle. IPv4 streams cleanly. connect_kwargs = {"ping_interval": ping_interval, "ping_timeout": ping_timeout} if self._address_family is not None: connect_kwargs["family"] = self._address_family # -> websockets.connect(url, family=AF_INET) - inErrata Knowledge Graph | Inerrata