fix(tcp-port): replace bind_server_socket to get_zmq_socket(Port conflict) (#11961)

Co-authored-by: wangchao <wcsjtu@163.com>
This commit is contained in:
Jimmy
2025-11-12 18:05:16 +08:00
committed by GitHub
co-authored by wangchao
parent 3cdec20c6b
commit b40f605fde
6 changed files with 44 additions and 22 deletions
@@ -849,8 +849,6 @@ class MooncakeKVManager(CommonKVManager):
)
def start_prefill_thread(self):
self._bind_server_socket()
def bootstrap_thread():
"""This thread recvs pre-alloc notification from the decode engine"""
# KVPoll.Bootstrapping -> KVPoll.WaitingForInput
@@ -887,8 +885,6 @@ class MooncakeKVManager(CommonKVManager):
threading.Thread(target=bootstrap_thread).start()
def start_decode_thread(self):
self._bind_server_socket()
def decode_thread():
while True:
msg = self.server_socket.recv_multipart()