Skip to content

Commit 317c1d9

Browse files
authored
Fixed wrong host for ZMQ broker. (#379)
1 parent 3181543 commit 317c1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq/brokers/zmq_broker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ async def kick(self, message: BrokerMessage) -> None:
7777
]
7878
for idx in range(math.ceil(len(message.message) / part_len))
7979
]
80-
with self.socket.connect(self.sub_host) as sock:
80+
with self.socket.connect(self.pub_host) as sock:
8181
await sock.send_multipart(parts)
8282

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

0 commit comments

Comments
 (0)