mirror of
https://github.com/wassname/ray.git
synced 2026-07-15 11:25:40 +08:00
[serve] Make serve __del__ log DEBUG level (#12766)
This commit is contained in:
@@ -65,9 +65,9 @@ class Client:
|
||||
|
||||
def __del__(self):
|
||||
if not self._detached:
|
||||
logger.info("Shutting down Ray Serve because client went out of "
|
||||
"scope. To prevent this, either keep a reference to "
|
||||
"the client object or use serve.start(detached=True).")
|
||||
logger.debug("Shutting down Ray Serve because client went out of "
|
||||
"scope. To prevent this, either keep a reference to "
|
||||
"the client or use serve.start(detached=True).")
|
||||
self.shutdown()
|
||||
|
||||
def __reduce__(self):
|
||||
|
||||
Reference in New Issue
Block a user