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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user