()
| 1504 | heartbeat_errors = [] |
| 1505 | |
| 1506 | def heartbeat(): |
| 1507 | while not stop.wait(_RUNTIME_LOCK_HEARTBEAT_SECONDS): |
| 1508 | try: |
| 1509 | _refresh_runtime_lock(lock) |
| 1510 | except Exception as exc: # surfaced on the launcher thread |
| 1511 | heartbeat_errors.append(exc) |
| 1512 | return |
| 1513 | |
| 1514 | try: |
| 1515 | _refresh_runtime_lock(lock) |
nothing calls this directly
no test coverage detected