Coverage for dispatch/params.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.9.2, created at 2026-07-24 16:42 +0000

1"""Pull-dispatch protocol parameters (spec §13). 

2 

3Deployment settings never live here — they live in the top-level 

4``config.py`` Settings (ADR-0005). 

5""" 

6 

7HEARTBEAT_INTERVAL_SEC = 15 

8LEASE_TTL_SEC = 30 

9POLL_INTERVAL_SEC = 3 

10ORPHAN_SCAN_INTERVAL_SEC = 15 

11MAX_ATTEMPTS = 3 

12IDENTITY_TTL_SEC = 7 * 24 * 60 * 60 # 7 days 

13PRESIGNED_URL_TTL_SEC = 60 * 60 # 1 hour 

14MAX_CONCURRENT_JOBS = 8 # advertised to runners in the register response (§7.1)