MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / is_running

Method is_running

core/loader_v2.py:286–293  ·  view source on GitHub ↗

Check if server process is running.

(self)

Source from the content-addressed store, hash-verified

284 return None
285
286 def is_running(self) -> bool:
287 """Check if server process is running."""
288 if self.process is not None:
289 return self.process.poll() is None
290 # If no process but _started is True, check if port is responding
291 if self._started:
292 return self._check_health()
293 return False
294
295
296class ModelLoader:

Callers 3

ensure_modelMethod · 0.45
get_statusMethod · 0.45
_main_loopMethod · 0.45

Calls 1

_check_healthMethod · 0.95

Tested by

no test coverage detected