Skip to content

Commit 2eff085

Browse files
committed
Remove the timeout from the gRPC stream call
The timeout counts for the whole duration of the call, not each individual streamed message, so it always times out, as we expect this stream to basically last forever. On top of this, disconnecting the stream seems to trigger some bug in the SDK, so we better avoid it for now. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 68e54da commit 2eff085

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/frequenz/client/microgrid/_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,6 @@ def receive_component_data_samples_stream(
624624
metrics=metrics_set
625625
),
626626
),
627-
timeout=DEFAULT_GRPC_CALL_TIMEOUT,
628627
)
629628
),
630629
lambda msg: component_data_samples_from_proto(msg.telemetry),

0 commit comments

Comments
 (0)