MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / heartbeat

Function heartbeat

pkg/pypi/src/codebase_memory_mcp/_cli.py:1374–1380  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1372 heartbeat_errors = []
1373
1374 def heartbeat():
1375 while not stop.wait(_RUNTIME_LOCK_HEARTBEAT_SECONDS):
1376 try:
1377 _refresh_runtime_lock(lock)
1378 except Exception as exc: # surfaced on the launcher thread
1379 heartbeat_errors.append(exc)
1380 return
1381
1382 try:
1383 _refresh_runtime_lock(lock)

Callers

nothing calls this directly

Calls 2

_refresh_runtime_lockFunction · 0.85
waitMethod · 0.80

Tested by

no test coverage detected