Skip to content

Commit

Permalink
bridge fixses
Browse files Browse the repository at this point in the history
  • Loading branch information
mooey5775 committed Oct 2, 2022
1 parent 3bfabfc commit ca0127c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zmq_websocket_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ async def bridge(websocket):
ctx = zmq.Context()
socket = ctx.socket(zmq.SUB)
socket.connect('ipc:///tmp/tabula')
socket.setsockopt(zmq.CONFLATE, 1)
socket.subscribe('')

print("[INFO] Inited zmq...")

while True:
message = socket.recv()
print(message)
Expand Down

0 comments on commit ca0127c

Please sign in to comment.