Sweeps
Scheduler-driven sweeps (CronJobs).
Run the dwell sweep (DwellSweep)
Raises TrailerDwellExceeded once per trailer and threshold crossing (the trailer remembers the highest threshold alerted). Naturally idempotent; run by a CronJob. A trailer that another request changed meanwhile is skipped (the next sweep sees it), so the sweep never answers 409 `concurrent-modification`.
Run the lease-expiry sweep (ExpireLease)
Returns every CLAIMED HOSTLER move whose lease ran out to REQUESTED and the trailer to where it was (ReturnToOrigin). Naturally idempotent; run by a CronJob. A move that another request changed meanwhile is skipped (the next sweep sees it), so the sweep never answers 409 `concurrent-modification`.