We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6efd3d8 + e7ac2d2 commit 207b4e9Copy full SHA for 207b4e9
RELEASE_NOTES.md
@@ -7,3 +7,4 @@
7
## Bug Fixes
8
9
* Fix that `dispatch-cli stream` would try to print an event as dispatch, causing an exception.
10
+* Fix that `stream()` would not reconnect and just closes the channel upon disconnection.
src/frequenz/client/dispatch/_client.py
@@ -241,7 +241,7 @@ def _get_stream(
241
),
242
243
transform=DispatchEvent.from_protobuf,
244
- retry_strategy=LinearBackoff(interval=1, limit=0),
+ retry_strategy=LinearBackoff(interval=1, limit=None),
245
)
246
self._streams[microgrid_id] = broadcaster
247
0 commit comments