Skip to content

chore(claim): remove dead DEFAULT_HEARTBEAT_STALE_THRESHOLD constant #3441

@rjwalters

Description

@rjwalters

While reviewing PR #3440, the shepherd-progress branch was correctly removed from _is_claim_abandoned(). However, the constant DEFAULT_HEARTBEAT_STALE_THRESHOLD (defined at line 34 of loom-tools/src/loom_tools/claim.py) was its only consumer and is now unreferenced.

Changes needed

  • Remove DEFAULT_HEARTBEAT_STALE_THRESHOLD definition from claim.py (lines 33-36, including the env-var read via os.environ.get)
  • Verify no other file in loom-tools/ imports or references this constant

Context

Discovered during evaluation of PR #3440 (chore: remove dead shepherd-progress logic from _is_claim_abandoned()).

Metadata

Metadata

Assignees

No one assigned

    Labels

    loom:buildingBuilder is implementing this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions