---
title: "Comment by Adam Lewis on \"My Coding Agent Waited 2 Hours on a 20-Minute Job.\" | Hashnode"
description: "Watch the logs for a run that takes twice its usual time and you've got a decent first pass. The 2× rule works when the usual time is stable, but a job whose ty"
url: "https://hashnode.com/posts/my-coding-agent-waited-2-hours-on-a-20-minute-job/6b016fc60becf0c99f0a5f9e/comment/6b04b3e1f0672e98a9043338"
---

[Discussion](https://hashnode.com/posts/my-coding-agent-waited-2-hours-on-a-20-minute-job/6b016fc60becf0c99f0a5f9e)

Comment [My Coding Agent Waited 2 Hours on a 20-Minute Job.](https://hashnode.com/posts/my-coding-agent-waited-2-hours-on-a-20-minute-job/6b016fc60becf0c99f0a5f9e)

[Adam Lewis](https://hashnode.com/@nark3d)

[Nov 23](https://hashnode.com/posts/my-coding-agent-waited-2-hours-on-a-20-minute-job/6b016fc60becf0c99f0a5f9e/comment/6b04b3e1f0672e98a9043338)

Watch the logs for a run that takes twice its usual time and you've got a decent first pass. The 2× rule works when the usual time is stable, but a job whose typical duration is a guess from a couple of logs will either fire on healthy runs or miss a hang that creeps past twice a number nobody measured properly. Watching a signal the job emits on purpose is a better check, a counter or a heartbeat file, since that's a fact about progress.
