Skip to content

Commit 9900a0d

Browse files
committed
fix: Docstring for PubSubSentinelBroker.
1 parent e135245 commit 9900a0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

taskiq_redis/redis_sentinel_broker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def _acquire_master_conn(self) -> AsyncIterator[_Redis]:
6767

6868

6969
class PubSubSentinelBroker(BaseSentinelBroker):
70-
"""Broker that works with Redis and broadcasts tasks to all workers."""
70+
"""Broker that works with Sentinel and broadcasts tasks to all workers."""
7171

7272
async def kick(self, message: BrokerMessage) -> None:
7373
"""

tests/test_broker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ async def test_pub_sub_sentinel_broker(
184184
redis_sentinel_master_name: str,
185185
) -> None:
186186
"""
187-
Test that messages are published and read correctly by PubSubBroker.
187+
Test that messages are published and read correctly by PubSubSentinelBroker.
188188
189189
We create two workers that listen and send a message to them.
190190
Expect both workers to receive the same message we sent.

0 commit comments

Comments
 (0)