@@ -33,8 +33,10 @@ class BleAssetsEvents(_MistWebsocket):
3333 Interval in seconds to send WebSocket ping frames (keep-alive).
3434 ping_timeout : int | None, default None
3535 Time in seconds to wait for a ping response before considering the
36- connection dead. Defaults to ``min(45, ping_interval - 1)``. Must be
37- lower than ping_interval.
36+ connection dead. Defaults to ``min(45, ping_interval - 1)`` when
37+ pings are enabled, or ``45`` when ``ping_interval`` is 0 (unused
38+ since pings are disabled). Must be lower than ping_interval when
39+ pings are enabled.
3840 auto_reconnect : bool, default False
3941 Automatically reconnect on unexpected disconnections using exponential backoff.
4042 max_reconnect_attempts : int, default 5
@@ -44,10 +46,11 @@ class BleAssetsEvents(_MistWebsocket):
4446 max_reconnect_backoff : float | None, default None
4547 Maximum backoff delay in seconds. If None, backoff grows indefinitely.
4648 queue_maxsize : int, default 0
47- Maximum number of messages buffered in the internal queue for the
48- ``receive()`` generator. ``0`` means unbounded. When set,
49- incoming messages are dropped with a warning when the queue is
50- full, preventing memory growth on high-frequency streams.
49+ Maximum number of messages buffered in each of the internal queues
50+ used for the ``receive()`` generator and callback delivery. ``0``
51+ means unbounded. When set, incoming messages are dropped with a
52+ warning when the target queue is full, preventing memory growth on
53+ high-frequency streams.
5154 subscription_watchdog_timeout : float, default 10.0
5255 Maximum time in seconds to wait for all channel subscription
5356 acknowledgements after connect. On timeout, the error is reported to
@@ -136,8 +139,10 @@ class ConnectedClientsEvents(_MistWebsocket):
136139 Interval in seconds to send WebSocket ping frames (keep-alive).
137140 ping_timeout : int | None, default None
138141 Time in seconds to wait for a ping response before considering the
139- connection dead. Defaults to ``min(45, ping_interval - 1)``. Must be
140- lower than ping_interval.
142+ connection dead. Defaults to ``min(45, ping_interval - 1)`` when
143+ pings are enabled, or ``45`` when ``ping_interval`` is 0 (unused
144+ since pings are disabled). Must be lower than ping_interval when
145+ pings are enabled.
141146 auto_reconnect : bool, default False
142147 Automatically reconnect on unexpected disconnections using exponential backoff.
143148 max_reconnect_attempts : int, default 5
@@ -147,10 +152,11 @@ class ConnectedClientsEvents(_MistWebsocket):
147152 max_reconnect_backoff : float | None, default None
148153 Maximum backoff delay in seconds. If None, backoff grows indefinitely.
149154 queue_maxsize : int, default 0
150- Maximum number of messages buffered in the internal queue for the
151- ``receive()`` generator. ``0`` means unbounded. When set,
152- incoming messages are dropped with a warning when the queue is
153- full, preventing memory growth on high-frequency streams.
155+ Maximum number of messages buffered in each of the internal queues
156+ used for the ``receive()`` generator and callback delivery. ``0``
157+ means unbounded. When set, incoming messages are dropped with a
158+ warning when the target queue is full, preventing memory growth on
159+ high-frequency streams.
154160 subscription_watchdog_timeout : float, default 10.0
155161 Maximum time in seconds to wait for all channel subscription
156162 acknowledgements after connect. On timeout, the error is reported to
@@ -239,8 +245,10 @@ class SdkClientsEvents(_MistWebsocket):
239245 Interval in seconds to send WebSocket ping frames (keep-alive).
240246 ping_timeout : int | None, default None
241247 Time in seconds to wait for a ping response before considering the
242- connection dead. Defaults to ``min(45, ping_interval - 1)``. Must be
243- lower than ping_interval.
248+ connection dead. Defaults to ``min(45, ping_interval - 1)`` when
249+ pings are enabled, or ``45`` when ``ping_interval`` is 0 (unused
250+ since pings are disabled). Must be lower than ping_interval when
251+ pings are enabled.
244252 auto_reconnect : bool, default False
245253 Automatically reconnect on unexpected disconnections using exponential backoff.
246254 max_reconnect_attempts : int, default 5
@@ -250,10 +258,11 @@ class SdkClientsEvents(_MistWebsocket):
250258 max_reconnect_backoff : float | None, default None
251259 Maximum backoff delay in seconds. If None, backoff grows indefinitely.
252260 queue_maxsize : int, default 0
253- Maximum number of messages buffered in the internal queue for the
254- ``receive()`` generator. ``0`` means unbounded. When set,
255- incoming messages are dropped with a warning when the queue is
256- full, preventing memory growth on high-frequency streams.
261+ Maximum number of messages buffered in each of the internal queues
262+ used for the ``receive()`` generator and callback delivery. ``0``
263+ means unbounded. When set, incoming messages are dropped with a
264+ warning when the target queue is full, preventing memory growth on
265+ high-frequency streams.
257266 subscription_watchdog_timeout : float, default 10.0
258267 Maximum time in seconds to wait for all channel subscription
259268 acknowledgements after connect. On timeout, the error is reported to
@@ -342,8 +351,10 @@ class UnconnectedClientsEvents(_MistWebsocket):
342351 Interval in seconds to send WebSocket ping frames (keep-alive).
343352 ping_timeout : int | None, default None
344353 Time in seconds to wait for a ping response before considering the
345- connection dead. Defaults to ``min(45, ping_interval - 1)``. Must be
346- lower than ping_interval.
354+ connection dead. Defaults to ``min(45, ping_interval - 1)`` when
355+ pings are enabled, or ``45`` when ``ping_interval`` is 0 (unused
356+ since pings are disabled). Must be lower than ping_interval when
357+ pings are enabled.
347358 auto_reconnect : bool, default False
348359 Automatically reconnect on unexpected disconnections using exponential backoff.
349360 max_reconnect_attempts : int, default 5
@@ -353,10 +364,11 @@ class UnconnectedClientsEvents(_MistWebsocket):
353364 max_reconnect_backoff : float | None, default None
354365 Maximum backoff delay in seconds. If None, backoff grows indefinitely.
355366 queue_maxsize : int, default 0
356- Maximum number of messages buffered in the internal queue for the
357- ``receive()`` generator. ``0`` means unbounded. When set,
358- incoming messages are dropped with a warning when the queue is
359- full, preventing memory growth on high-frequency streams.
367+ Maximum number of messages buffered in each of the internal queues
368+ used for the ``receive()`` generator and callback delivery. ``0``
369+ means unbounded. When set, incoming messages are dropped with a
370+ warning when the target queue is full, preventing memory growth on
371+ high-frequency streams.
360372 subscription_watchdog_timeout : float, default 10.0
361373 Maximum time in seconds to wait for all channel subscription
362374 acknowledgements after connect. On timeout, the error is reported to
@@ -447,8 +459,10 @@ class DiscoveredBleAssetsEvents(_MistWebsocket):
447459 Interval in seconds to send WebSocket ping frames (keep-alive).
448460 ping_timeout : int | None, default None
449461 Time in seconds to wait for a ping response before considering the
450- connection dead. Defaults to ``min(45, ping_interval - 1)``. Must be
451- lower than ping_interval.
462+ connection dead. Defaults to ``min(45, ping_interval - 1)`` when
463+ pings are enabled, or ``45`` when ``ping_interval`` is 0 (unused
464+ since pings are disabled). Must be lower than ping_interval when
465+ pings are enabled.
452466 auto_reconnect : bool, default False
453467 Automatically reconnect on unexpected disconnections using exponential backoff.
454468 max_reconnect_attempts : int, default 5
@@ -458,10 +472,11 @@ class DiscoveredBleAssetsEvents(_MistWebsocket):
458472 max_reconnect_backoff : float | None, default None
459473 Maximum backoff delay in seconds. If None, backoff grows indefinitely.
460474 queue_maxsize : int, default 0
461- Maximum number of messages buffered in the internal queue for the
462- ``receive()`` generator. ``0`` means unbounded. When set,
463- incoming messages are dropped with a warning when the queue is
464- full, preventing memory growth on high-frequency streams.
475+ Maximum number of messages buffered in each of the internal queues
476+ used for the ``receive()`` generator and callback delivery. ``0``
477+ means unbounded. When set, incoming messages are dropped with a
478+ warning when the target queue is full, preventing memory growth on
479+ high-frequency streams.
465480 subscription_watchdog_timeout : float, default 10.0
466481 Maximum time in seconds to wait for all channel subscription
467482 acknowledgements after connect. On timeout, the error is reported to
0 commit comments