[P/D] Add a shutdown method to the Connector API (#22699)

Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
Chauncey
2025-09-08 14:07:00 +08:00
committed by GitHub
parent 8c892b1831
commit 61aa4b2901
10 changed files with 52 additions and 12 deletions

View File

@@ -231,7 +231,7 @@ class ExecutorBase(ABC):
def shutdown(self) -> None:
"""Shutdown the executor."""
return
self.collective_rpc("shutdown")
def __del__(self):
self.shutdown()