Skip to content

Commit

Permalink
Remove attribute no longer needed
Browse files Browse the repository at this point in the history
The limit of the anycast channel's buffer is no longer needed
as the same information is already stored in the deque's maxlen
property.
  • Loading branch information
daniel-zullo-frequenz committed Sep 18, 2023
1 parent e642dd0 commit 4020f21
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/frequenz/channels/_anycast.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ def __init__(self, maxsize: int = 10) -> None:
Args:
maxsize: Size of the channel's buffer.
"""
self.limit: int = maxsize
"""The maximum number of values that can be stored in the channel's buffer."""

self.deque: Deque[T] = deque(maxlen=maxsize)
"""The channel's buffer."""

Expand Down

0 comments on commit 4020f21

Please sign in to comment.