Skip to content

Commit

Permalink
Fixed wrong host for ZMQ broker. (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rius authored Nov 20, 2024
1 parent 3181543 commit 317c1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskiq/brokers/zmq_broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async def kick(self, message: BrokerMessage) -> None:
]
for idx in range(math.ceil(len(message.message) / part_len))
]
with self.socket.connect(self.sub_host) as sock:
with self.socket.connect(self.pub_host) as sock:
await sock.send_multipart(parts)

async def listen(self) -> AsyncGenerator[bytes, None]:
Expand Down

0 comments on commit 317c1d9

Please sign in to comment.