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

Function is_idle

tests/test_daemon_smoke.py:646–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

644
645def assert_coordination_idle(socket_path, lock_specs, description):
646 def is_idle():
647 return not os.path.lexists(str(socket_path)) and all(
648 lock_status(path, record_lock) == "free"
649 for path, record_lock in lock_specs
650 )
651
652 wait_until(is_idle, SHUTDOWN_TIMEOUT, description)
653 for path, record_lock in lock_specs:

Callers

nothing calls this directly

Calls 1

lock_statusFunction · 0.85

Tested by

no test coverage detected