mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:32:11 +08:00
[Serve] Add "endpoint registered" message to router log (#13752)
This commit is contained in:
@@ -256,6 +256,7 @@ class Router:
|
||||
raise RayServeException(
|
||||
f"Endpoint {endpoint} was removed. This request "
|
||||
"cannot be completed.")
|
||||
logger.info(f"Endpoint {endpoint} registered.")
|
||||
|
||||
endpoint_policy = self.endpoint_policies[endpoint]
|
||||
chosen_backend, *shadow_backends = endpoint_policy.assign(query)
|
||||
|
||||
Reference in New Issue
Block a user