MCPcopy Index your code
hub / github.com/openai/plugins / stale_claim_before

Function stale_claim_before

plugins/codex-security/scripts/workbench_db.py:307–310  ·  view source on GitHub ↗
(seconds: int = CLAIM_LEASE_SECONDS)

Source from the content-addressed store, hash-verified

305
306
307def stale_claim_before(seconds: int = CLAIM_LEASE_SECONDS) -> str:
308 return (
309 (datetime.now(timezone.utc) - timedelta(seconds=seconds)).isoformat().replace("+00:00", "Z")
310 )
311
312
313def state_dir() -> Path:

Callers 2

claim_handoff_deliveryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected