mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 21:05:07 +08:00
[serve] Create all other actors in master actor (#7791)
This commit is contained in:
@@ -155,7 +155,7 @@ class HTTPProxyActor:
|
||||
def __init__(self):
|
||||
self.app = HTTPProxy()
|
||||
|
||||
async def run(self, host="0.0.0.0", port=8000):
|
||||
async def run(self, host, port):
|
||||
sock = socket.socket()
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
sock.bind((host, port))
|
||||
|
||||
Reference in New Issue
Block a user