MCPcopy
hub / github.com/budtmo/docker-android / keep_alive

Method keep_alive

cli/src/device/__init__.py:121–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

119 self.set_status(DEVICE.STATUS_RECONFIGURING)
120
121 def keep_alive(self) -> None:
122 self.set_status(DEVICE.STATUS_READY)
123 self.logger.warning(f"{self.device_type} process will be kept alive to be able to get sigterm signal...")
124 while True:
125 time.sleep(2)
126
127 @abstractmethod
128 def tear_down(self, *args) -> None:

Callers 1

start_deviceFunction · 0.80

Calls 1

set_statusMethod · 0.95

Tested by

no test coverage detected