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

Method run

src/pybind/mgr/mgr_util.py:156–164  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 """
155 @no_type_check
156 def run(self):
157 try:
158 while not self.finished.is_set():
159 self.finished.wait(self.interval)
160 self.function(*self.args, **self.kwargs)
161 except Exception:
162 logger.error(f'exception encountered in RTimer instance "{self}":'
163 f'\n{tb_format_exc()}')
164 raise
165
166
167@contextlib.contextmanager

Callers 3

tool_execMethod · 0.45
send_rgwadmin_commandMethod · 0.45

Calls 4

is_setMethod · 0.45
waitMethod · 0.45
functionMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected