mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Use localhost for reply and request
This commit is contained in:
parent
0deea0baf2
commit
8cf021630e
@ -19,7 +19,7 @@ class InterProcessCommunicator(Communicator):
|
|||||||
)
|
)
|
||||||
self.context = zmq.Context()
|
self.context = zmq.Context()
|
||||||
self.socket = self.context.socket(zmq.REP)
|
self.socket = self.context.socket(zmq.REP)
|
||||||
self.socket.bind(f"tcp://*:{INTER_PROCESS_COMM_PORT}")
|
self.socket.bind(f"tcp://127.0.0.1:{INTER_PROCESS_COMM_PORT}")
|
||||||
self.stop_event: MpEvent = mp.Event()
|
self.stop_event: MpEvent = mp.Event()
|
||||||
|
|
||||||
def publish(self, topic: str, payload: str, retain: bool) -> None:
|
def publish(self, topic: str, payload: str, retain: bool) -> None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user