MCPcopy Create free account
hub / github.com/ceph/ceph / shutdown

Method shutdown

src/ceph-node-proxy/ceph_node_proxy/main.py:189–197  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 time.sleep(check_interval)
188
189 def shutdown(self) -> None:
190 self.stop = True
191 # if `self.system.shutdown()` is called before self.start(), it will fail.
192 if hasattr(self, "api"):
193 self.api.shutdown()
194 if hasattr(self, "reporter_agent"):
195 self.reporter_agent.shutdown()
196 if hasattr(self, "system"):
197 self.system.shutdown()
198
199
200def handler(signum: Any, frame: Any, t_mgr: "NodeProxyManager") -> None:

Callers 2

loopMethod · 0.45
handlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected