Skip to content

Commit

Permalink
worker: listen only on localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
moepman committed Oct 17, 2021
1 parent ae7cdc6 commit 7a93108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgskex/worker/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main() -> None:
context = zmq.Context()
socket = context.socket(zmq.REP)
# TODO make the port configurable
socket.bind("tcp://*:5555")
socket.bind("tcp://127.0.0.1:5555")

# run background flusher to remove stale clients
thread = threading.Thread(target=flusher)
Expand Down

0 comments on commit 7a93108

Please sign in to comment.