Skip to content

Commit

Permalink
Change receiver limit in mock_resampler
Browse files Browse the repository at this point in the history
This receiver is only to forward messages to subscribers.
It doesn't need more then 1 last message.
No tests are broken after this.

Signed-off-by: Elzbieta Kotulska <elzbieta.kotulska@frequenz.com>
  • Loading branch information
ela-kotulska-frequenz committed Aug 30, 2024
1 parent 91ad3e9 commit 2a515d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/timeseries/mock_resampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def power_senders(
self._input_channels_receivers[name] = [
self._channel_registry.get_or_create(
Sample[Quantity], name
).new_receiver()
).new_receiver(limit=1)
for _ in range(namespaces)
]
return senders
Expand Down

0 comments on commit 2a515d1

Please sign in to comment.