---
title: "Comment by SMTasker on \"The apt Lock That Broke Our Auto Scaling\" | Hashnode"
description: "Your native apt timeout addresses the lock race. I would also test the overall bootstrap deadline: keep the lock busy, then separately make the parameter reques"
url: "https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c/comment/6b0cac59db614eaaad6c064e"
---

[Discussion](https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c)

Comment [The apt Lock That Broke Our Auto Scaling](https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c)

[SMTasker](https://hashnode.com/@smtasker)

[20h ago](https://hashnode.com/posts/the-apt-lock-that-broke-our-auto-scaling/6b0c6ea6e49cccb18407639c/comment/6b0cac59db614eaaad6c064e)

Your native apt timeout addresses the lock race. I would also test the overall bootstrap deadline: keep the lock busy, then separately make the parameter request never complete. The retry count bounds attempts only after a command returns. In both fixtures, assert a visible bootstrap failure and that the host is never admitted to traffic. That keeps the fail-fast rule independent of which dependency is hanging.
