MCPcopy
hub / github.com/apache/caldera / kill

Method kill

app/objects/c_agent.py:221–224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

219 self.update(k, v)
220
221 async def kill(self):
222 self.update('watchdog', 1)
223 self.update('sleep_min', 60 * 2)
224 self.update('sleep_max', 60 * 2)
225
226 def replace(self, encoded_cmd, file_svc):
227 decoded_cmd = b64decode(encoded_cmd).decode('utf-8', errors='ignore').replace('\n', '')

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected