[P/D] Add a shutdown method to the Connector API (#22699)
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
@@ -1188,6 +1188,8 @@ class Scheduler(SchedulerInterface):
|
||||
def shutdown(self) -> None:
|
||||
if self.kv_event_publisher:
|
||||
self.kv_event_publisher.shutdown()
|
||||
if self.connector is not None:
|
||||
self.connector.shutdown()
|
||||
|
||||
########################################################################
|
||||
# KV Connector Related Methods
|
||||
|
||||
Reference in New Issue
Block a user