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.
__eq__
1 parent 5977e38 commit 56a251cCopy full SHA for 56a251c
redis/backoff.py
@@ -170,7 +170,7 @@ def __hash__(self) -> int:
170
return hash((self._base, self._cap))
171
172
def __eq__(self, other) -> bool:
173
- if not isinstance(other, EqualJitterBackoff):
+ if not isinstance(other, ExponentialWithJitterBackoff):
174
return NotImplemented
175
176
return self._base == other._base and self._cap == other._cap
0 commit comments